de.cesr.more.measures.node
Class MNodeMeasures
java.lang.Object
de.cesr.more.measures.node.MNodeMeasures
public class MNodeMeasures
- extends Object
Extension for NetworkChangeNode
s to store network measures.
- Date:
- 24.05.2008
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
objectMeasures
protected HashMap<MoreNetwork<? extends MoreNodeMeasureSupport,?>,HashMap<MMeasureDescription,Number>> objectMeasures
temp
protected Double temp
MNodeMeasures
public MNodeMeasures()
- Instantiates an new
HashMap
setNetworkMeasureObject
public void setNetworkMeasureObject(MoreNetwork<? extends MoreNodeMeasureSupport,?> network,
MMeasureDescription key,
Number value)
- Stores the measure value of the given measure key for the give network in a map
- Parameters:
network
- The network that measure is calculated forkey
- The Key of the measurevalue
- the value to set- Date:
- 10.07.2008
getNetworkMeasureObject
public Number getNetworkMeasureObject(MoreNetwork<? extends MoreNodeMeasureSupport,?> network,
MMeasureDescription key)
- Returns the stored value belonging to the given measure key for the given network
- Parameters:
network
- The network for which the returned measure value shall be calculated forkey
- The key of the measure
- Returns:
- the value of that measure for the given network
- Date:
- 10.07.2008