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

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.CostSensor

public class CostSensor
extends NaturalNumberSensor


Constructor Summary
CostSensor()
           
 
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

CostSensor

public CostSensor()
Method Detail

getUnit

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

getName

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

takeNewDoubleValue

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