test.edu.uci.ics.jung.algorithms.importance
Class VoltageRankerTest.VertexVoltages

java.lang.Object
  extended by test.edu.uci.ics.jung.algorithms.importance.VoltageRankerTest.VertexVoltages
All Implemented Interfaces:
NumberVertexValue
Enclosing class:
VoltageRankerTest

protected static class VoltageRankerTest.VertexVoltages
extends Object
implements NumberVertexValue


Field Summary
protected static String VOLTAGE_KEY
           
 
Constructor Summary
protected VoltageRankerTest.VertexVoltages()
           
 
Method Summary
 Number getNumber(ArchetypeVertex v)
           
 void setNumber(ArchetypeVertex v, Number n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VOLTAGE_KEY

protected static final String VOLTAGE_KEY
See Also:
Constant Field Values
Constructor Detail

VoltageRankerTest.VertexVoltages

protected VoltageRankerTest.VertexVoltages()
Method Detail

getNumber

public Number getNumber(ArchetypeVertex v)
Specified by:
getNumber in interface NumberVertexValue
Parameters:
v - the vertex to examine
Returns:
the Number associated with this vertex

setNumber

public void setNumber(ArchetypeVertex v,
                      Number n)
Specified by:
setNumber in interface NumberVertexValue
Parameters:
v - the vertex whose value we're setting
n - the Number to which we're setting the vertex's value