Class Weighted_CrossSection.Integer

java.lang.Object
microsim.statistics.weighted.Weighted_CrossSection
microsim.statistics.weighted.Weighted_CrossSection.Integer
All Implemented Interfaces:
EventListener, SourceObjectArray, UpdatableSource, WeightedIntArraySource
Enclosing class:
Weighted_CrossSection

public static class Weighted_CrossSection.Integer extends Weighted_CrossSection implements WeightedIntArraySource
  • Field Details

    • valueList

      protected int[] valueList
    • weights

      protected double[] weights
    • invoker

      protected IntegerInvoker invoker
    • target

      protected Collection<? extends Weight> target
    • valueID

      protected Enum<?> valueID
  • Constructor Details

    • Integer

      public Integer(@NonNull @NonNull Collection<? extends Weight> source, @NonNull @NonNull Enum<?> valueID)
      Create a statistic probe on a collection of IntSource objects.
      Parameters:
      source - The collection containing IntSource object.
      valueID - The value identifier defined by source object.
    • Integer

      public Integer(@NonNull @NonNull Collection<? extends Weight> source)
      Create a statistic probe on a collection of IntSource objects. It uses the IntSource.DEFAULT variable id.
      Parameters:
      source - The collection containing IntSource object.
    • Integer

      public Integer(@NonNull @NonNull Collection<? extends Weight> source, @NonNull @NonNull Class<? extends Weight> objectClass, @NonNull @NonNull String valueName, boolean getFromMethod)
      Create a basic statistic probe on a collection of objects.
      Parameters:
      source - A collection of generic objects.
      objectClass - The class of the objects contained by collection source.
      valueName - The name of the field or the method returning the variable to be probed.
      getFromMethod - Specifies if valueName is a method or a property value.
  • Method Details