Package jline.lang

Class Graph

java.lang.Object
jline.lang.Graph
All Implemented Interfaces:
Serializable

public class Graph extends Object implements Serializable
A lightweight directed-graph view of a Network topology, returned by Network.getGraph(). Nodes are the network node names and edges carry the per-class routing probability (weight) between nodes.
See Also:
  • Constructor Details

  • Method Details

    • getNodes

      public List<String> getNodes()
      Returns the list of node names in the graph.
    • getEdges

      public List<Graph.Edge> getEdges()
      Returns the list of directed edges in the graph.
    • toString

      public String toString()
      Overrides:
      toString in class Object