Class Weighted_CrossSection.Float

java.lang.Object
microsim.statistics.weighted.Weighted_CrossSection
microsim.statistics.weighted.Weighted_CrossSection.Float
All Implemented Interfaces:
EventListener, ISourceObjectArray, IUpdatableSource, IWeightedFloatArraySource
Enclosing class:
Weighted_CrossSection

public static class Weighted_CrossSection.Float extends Weighted_CrossSection implements IWeightedFloatArraySource
  • Field Details

    • valueList

      protected float[] valueList
    • weights

      protected double[] weights
    • invoker

      protected FloatInvoker invoker
    • target

      protected Collection<? extends Weight> target
    • valueID

      protected Enum<?> valueID
  • Constructor Details

    • Float

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

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

      public Float(Collection<? extends Weight> source, Class<? extends Weight> objectClass, 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