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

java.lang.Object
  extended by org.lucci.madhoc.simulation.measure.Sensor
      extended by org.lucci.madhoc.simulation.measure.NumericalSensor
          extended by org.lucci.madhoc.simulation.measure.NaturalNumberSensor
              extended by org.lucci.madhoc.network.monitor.measure.ConnectionAverageAgeSensor

public class ConnectionAverageAgeSensor
extends NaturalNumberSensor


Constructor Summary
ConnectionAverageAgeSensor()
           
 
Method Summary
 java.lang.String getName()
           
 Unit getUnit()
           
 java.lang.Double takeNewDoubleValue(Projection projection)
           
 
Methods inherited from class org.lucci.madhoc.simulation.measure.NaturalNumberSensor
isValueValid
 
Methods inherited from class org.lucci.madhoc.simulation.measure.NumericalSensor
createMeasureHistory, getPrecision, getValueClass, setPrecision, takeNewValue
 
Methods inherited from class org.lucci.madhoc.simulation.measure.Sensor
equals, getMonitor, hashCode, isValueValid, setMonitor
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionAverageAgeSensor

public ConnectionAverageAgeSensor()
Method Detail

getName

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

getUnit

public Unit getUnit()
Specified by:
getUnit in class NumericalSensor

takeNewDoubleValue

public java.lang.Double takeNewDoubleValue(Projection projection)
Specified by:
takeNewDoubleValue in class NumericalSensor