Package ons.util
Class WeightedGraphLPCandidates
java.lang.Object
ons.util.WeightedGraph
ons.util.WeightedGraphLPCandidates
- All Implemented Interfaces:
java.io.Serializable
public class WeightedGraphLPCandidates extends WeightedGraph implements java.io.Serializable
A weighted graph associates a label (weight) with every edge in the graph.
If a pair of nodes has weight equal to zero, it means the edge between them
doesn't exist.
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description WeightedGraphLPCandidates(int n)WeightedGraphLPCandidates(WeightedGraph g)WeightedGraphLPCandidates(WeightedGraphLPCandidates g) -
Method Summary
Modifier and Type Method Description LightPathgetCandidate(int source, int target)voidsetCandidate(int source, int target, LightPath lp)Methods inherited from class ons.util.WeightedGraph
addEdge, addNode, getAverageClusteringCoefficient, getAveragePathLength, getClusteringCoefficient, getGlobalClusteringCoefficient, getGraphDiameter, getGraphDiameter_mod, getMaxClusteringCoefficient, getMaxPossiblePathWeight, getSumClusteringCoefficient, getWeight, isEdge, neighbors, neighbors2, removeEdge, removeNode, removeNodeEdge, setWeight, size, toString
-
Constructor Details
-
WeightedGraphLPCandidates
public WeightedGraphLPCandidates(int n) -
WeightedGraphLPCandidates
-
WeightedGraphLPCandidates
-
-
Method Details