edu.uci.ics.jung.graph.decorators
Interface NumberVertexValue
- All Known Implementing Classes:
- MapNumberVertexValue, UserDatumNumberVertexValue, VoltageRankerTest.VertexVoltages
public interface NumberVertexValue
A generalized interface for setting and getting Number
s
of ArchetypeVertex
s. Using this interface allows
algorithms to work without having to know how vertices store this
data.
- Author:
- Joshua O'Madadhain
getNumber
Number getNumber(ArchetypeVertex v)
- Parameters:
v
- the vertex to examine
- Returns:
- the Number associated with this vertex
setNumber
void setNumber(ArchetypeVertex v,
Number n)
- Parameters:
v
- the vertex whose value we're settingn
- the Number to which we're setting the vertex's value