Uses of Class
ons.util.WeightedGraph
Package | Description |
---|---|
ons | |
ons.util |
-
Uses of WeightedGraph in ons
Methods in ons that return WeightedGraph Modifier and Type Method Description WeightedGraph
VirtualTopology. getLightpathsGraph(int bw)
Retrieves the lightpaths of a weighted graph without weights.WeightedGraph
PhysicalTopology. getTransponderGraph()
Returns the weighted graph with the representation of transponders [Tx/Rx] available in OXC.WeightedGraph
VirtualTopology. getWeightedBackupLightpathsGraphProtection(int bw, double w, java.lang.String typeProtection)
Retrieves the lightpaths of a weighted graph with weights (only backup lightpaths).WeightedGraph
EONPhysicalTopology. getWeightedGraph(int slots)
Returns a weighted graph with vertices representing the physical network nodes, and the edges representing the physical links.WeightedGraph
PhysicalTopology. getWeightedGraph()
Returns a weighted graph with vertices, edges and weights representing the physical network nodes, links and weights implemented by this class object.WeightedGraph
WDMPhysicalTopology. getWeightedGraph(int wvl, int bw)
Returns a weighted graph with vertices representing the physical network nodes, and the edges representing the physical links.WeightedGraph
VirtualTopology. getWeightedLightpathsGraph(int bw, double w)
Retrieves the lightpaths of a weighted graph with weights.WeightedGraph
VirtualTopology. getWeightedPrimaryLightpathsGraph(int bw, double w)
Retrieves the lightpaths of a weighted graph with weights (only primary lightpaths).WeightedGraph
VirtualTopology. getWeightedPrimaryLightpathsGraphProtection(int bw, double w, java.lang.String typeProtection)
Retrieves the lightpaths of a weighted graph with weights (only primary lightpaths). -
Uses of WeightedGraph in ons.util
Subclasses of WeightedGraph in ons.util Modifier and Type Class Description class
WeightedGraphLPCandidates
A weighted graph associates a label (weight) with every edge in the graph.Methods in ons.util that return WeightedGraph Modifier and Type Method Description WeightedGraph
LayeredGraph. getBigGraph()
Get WeightedGraph from the LayeredGraph.WeightedGraph
LayeredGraph. getLayer(int l)
Retrieves the layer of the LayeredGraph.Methods in ons.util with parameters of type WeightedGraph Modifier and Type Method Description void
LayeredGraph. addLayer(WeightedGraph l)
Creates a new layer in LayeredGraph.static int[]
Dijkstra. dijkstra(WeightedGraph G, int s)
static java.util.ArrayList<java.lang.Integer>[]
DSP. disjointShortestPaths(WeightedGraph graph, int source, int destination)
static AllPaths
AllPaths. getAllPathsObject(WeightedGraph g, double diameter)
Creates a new KSPOffline object, in case it does'n exist yet.static KSPOffline
KSPOffline. getKSPOfflineObject(WeightedGraph g, int k)
Creates a new KSPOffline object, in case it does'n exist yet.static int[]
Dijkstra. getShortestPath(WeightedGraph G, int src, int dst)
Retrieves the shortest path between a source and a destination node, within a weighted graph.static java.util.ArrayList<java.lang.Integer>[]
YenKSP. kShortestPaths(WeightedGraph graph, int source, int destination, int K)
static java.util.ArrayList<java.lang.Integer>[]
YenKSP. kShortestPathsByHops(WeightedGraph graph, int source, int destination, int K)
static int[]
YenKSP. kShortestPathsIndex(WeightedGraph graph, int source, int destination, int index)
Retrieves the specific k-shortest path from source and destination (in path nodes)Constructors in ons.util with parameters of type WeightedGraph Constructor Description AllPaths(WeightedGraph g, double diameter)
AllPathsNode(WeightedGraph g, java.lang.String topologia)
GraphStatus(WeightedGraph graph)
LayeredGraph(WeightedGraph eletricalLayer, WeightedGraph subTransponderLayer, WeightedGraph transponderLayer)
Creates a new LayeredGraph object, based on an already existing weighteds graphs.WeightedGraph(WeightedGraph g)
Creates a new WeightedGraph object, based on an already existing weighted graph.WeightedGraphLPCandidates(WeightedGraph g)
WeightedMultiGraph(WeightedGraph g)
WeightedMultiGraphMultiWeight(WeightedGraph g)
Constructor parameters in ons.util with type arguments of type WeightedGraph Constructor Description LayeredGraph(java.util.ArrayList<WeightedGraph> graphs)
Creates a new LayeredGraph object, based on an already existing weighteds graphs.LayeredGraph(java.util.ArrayList<WeightedGraph> graphs, java.util.ArrayList<java.lang.Long> tags)
Creates a new LayeredGraph object, based on an already existing weighteds graphs and put its tags.