scg.ac.ni.pmf.newgraph.invariants
Class EdgeDoubleValues

java.lang.Object
  extended by scg.ac.ni.pmf.newgraph.invariants.EdgeDoubleValues

public class EdgeDoubleValues
extends java.lang.Object

Stores the double values assigned to edges.

Author:
Vladimir Brankov
See Also:
InvariantDoubleEdge

Method Summary
 void assignValue(EdgeData v, double d)
          Stores the double value assigned to the edge.
 java.lang.Double getValue(EdgeData v)
          Retrieves the value assigned to the edge.
 java.util.Map getValues()
          Retrieves the map of the values.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

assignValue

public void assignValue(EdgeData v,
                        double d)
Stores the double value assigned to the edge.

Parameters:
v - The edge.
d - The double value.

getValue

public java.lang.Double getValue(EdgeData v)
Retrieves the value assigned to the edge. Returns null if no value is assigned.

Parameters:
v - The edge.
Returns:
The value.

getValues

public java.util.Map getValues()
Retrieves the map of the values.

Returns:
The values.


Copyright © 2004 Dragan Stevanovic, Vladimir Brankov.