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 WeightedGraphVirtualTopology. getLightpathsGraph(int bw)Retrieves the lightpaths of a weighted graph without weights.WeightedGraphPhysicalTopology. getTransponderGraph()Returns the weighted graph with the representation of transponders [Tx/Rx] available in OXC.WeightedGraphVirtualTopology. getWeightedBackupLightpathsGraphProtection(int bw, double w, java.lang.String typeProtection)Retrieves the lightpaths of a weighted graph with weights (only backup lightpaths).WeightedGraphEONPhysicalTopology. getWeightedGraph(int slots)Returns a weighted graph with vertices representing the physical network nodes, and the edges representing the physical links.WeightedGraphPhysicalTopology. getWeightedGraph()Returns a weighted graph with vertices, edges and weights representing the physical network nodes, links and weights implemented by this class object.WeightedGraphWDMPhysicalTopology. getWeightedGraph(int wvl, int bw)Returns a weighted graph with vertices representing the physical network nodes, and the edges representing the physical links.WeightedGraphVirtualTopology. getWeightedLightpathsGraph(int bw, double w)Retrieves the lightpaths of a weighted graph with weights.WeightedGraphVirtualTopology. getWeightedPrimaryLightpathsGraph(int bw, double w)Retrieves the lightpaths of a weighted graph with weights (only primary lightpaths).WeightedGraphVirtualTopology. 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 classWeightedGraphLPCandidatesA weighted graph associates a label (weight) with every edge in the graph.Methods in ons.util that return WeightedGraph Modifier and Type Method Description WeightedGraphLayeredGraph. getBigGraph()Get WeightedGraph from the LayeredGraph.WeightedGraphLayeredGraph. getLayer(int l)Retrieves the layer of the LayeredGraph.Methods in ons.util with parameters of type WeightedGraph Modifier and Type Method Description voidLayeredGraph. 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 AllPathsAllPaths. getAllPathsObject(WeightedGraph g, double diameter)Creates a new KSPOffline object, in case it does'n exist yet.static KSPOfflineKSPOffline. 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.