All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class Graph.Node

java.lang.Object
   |
   +----Graph.Node

public class Node
extends Object

Constructor Index

 o Node(Graph)
 o Node(Graph, String)

Method Index

 o adj()
 o adj(Node)
 o comesFrom(Node)
 o degree()
 o goesTo(Node)
 o inDegree()
 o normalize()
Sort node lists in alphabetical order, to standardize.
 o outDegree()
 o pred()
 o succ()
 o toString()

Constructors

 o Node
 public Node(Graph g,
             String name)
 o Node
 public Node(Graph g)

Methods

 o succ
 public NodeList succ()
 o pred
 public NodeList pred()
 o adj
 public NodeList adj()
 o inDegree
 public int inDegree()
 o outDegree
 public int outDegree()
 o degree
 public int degree()
 o goesTo
 public boolean goesTo(Node n)
 o comesFrom
 public boolean comesFrom(Node n)
 o adj
 public boolean adj(Node n)
 o toString
 public String toString()
Overrides:
toString in class Object
 o normalize
 public void normalize()
Sort node lists in alphabetical order, to standardize.


All Packages  Class Hierarchy  This Package  Previous  Next  Index