org.lucci.madhoc.network.monitor.measure
Class LoadDistributionMeasure

java.lang.Object
  extended by org.lucci.madhoc.simulation.measure.Sensor
      extended by org.lucci.madhoc.simulation.measure.DistributionSensor
          extended by org.lucci.madhoc.network.monitor.measure.LoadDistributionMeasure

public class LoadDistributionMeasure
extends DistributionSensor

Author:
luc.hogie

Constructor Summary
LoadDistributionMeasure()
           
 
Method Summary
 java.lang.String getName()
           
 double getTargetedValue(java.lang.Object object)
          Iterating on the set given by getTargetSet() each element is asked for providing a specific value.
 java.util.Collection getTargetSet(Projection projection)
          The set to iterate for harversting values.
 java.lang.String getTargetSetName()
          Return the name of the set to iterate on.
 Unit getYUnit()
          Return the unit of the distribution.
 
Methods inherited from class org.lucci.madhoc.simulation.measure.DistributionSensor
getValueClass, takeNewValue
 
Methods inherited from class org.lucci.madhoc.simulation.measure.Sensor
createMeasureHistory, equals, getMonitor, hashCode, isValueValid, setMonitor
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadDistributionMeasure

public LoadDistributionMeasure()
Method Detail

getTargetedValue

public double getTargetedValue(java.lang.Object object)
Description copied from class: DistributionSensor
Iterating on the set given by getTargetSet() each element is asked for providing a specific value. This value is used for building the distribution of this value.

Specified by:
getTargetedValue in class DistributionSensor
Returns:

getName

public java.lang.String getName()
Specified by:
getName in class Sensor

getYUnit

public Unit getYUnit()
Description copied from class: DistributionSensor
Return the unit of the distribution. This is used for presentation purposes only.

Specified by:
getYUnit in class DistributionSensor
Returns:

getTargetSet

public java.util.Collection getTargetSet(Projection projection)
Description copied from class: DistributionSensor
The set to iterate for harversting values. It is typically the set of stations in the network, or the set of station applications of a certain sort.

Specified by:
getTargetSet in class DistributionSensor
Returns:

getTargetSetName

public java.lang.String getTargetSetName()
Description copied from class: DistributionSensor
Return the name of the set to iterate on. This is used only for presentation purposes.

Specified by:
getTargetSetName in class DistributionSensor
Returns: