edu.uci.ics.jung.graph.decorators
Interface NumberEdgeValue
- All Known Subinterfaces:
- EdgeVertexNumberFunction
- All Known Implementing Classes:
- AbstractIterativeRanker.UniformIncident, AbstractIterativeRanker.UniformOut, ConstantDirectionalEdgeValue, ConstantEdgeValue, EdgeWeightLabeller, PageRankRanker.SourceNormalizedEdgeValue, UserDatumNumberEdgeValue
public interface NumberEdgeValue
A generalized interface for setting and getting Number
s
of ArchetypeEdge
s. Using this interface allows
algorithms to work without having to know how edges store this
data.
- Author:
- Joshua O'Madadhain
getNumber
Number getNumber(ArchetypeEdge e)
- Parameters:
e
- the edge to examine
- Returns:
- the Number associated with this edge
setNumber
void setNumber(ArchetypeEdge e,
Number n)
- Parameters:
e
- the edge whose value we're settingn
- the Number to which we're setting the edge