harpoon.Backend.CSAHack.Graph
Class Node

java.lang.Object
  extended by harpoon.Backend.CSAHack.Graph.Node

public class Node
extends Object


Constructor Summary
Node(Graph g)
           
 
Method Summary
 NodeList adj()
           
 boolean adj(Node n)
           
 boolean comesFrom(Node n)
           
 int degree()
           
 boolean goesTo(Node n)
           
 int inDegree()
           
 int outDegree()
           
 NodeList pred()
           
 NodeList succ()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Node

public Node(Graph g)
Method Detail

succ

public NodeList succ()

pred

public NodeList pred()

adj

public NodeList adj()

inDegree

public int inDegree()

outDegree

public int outDegree()

degree

public int degree()

goesTo

public boolean goesTo(Node n)

comesFrom

public boolean comesFrom(Node n)

adj

public boolean adj(Node n)

toString

public String toString()
Overrides:
toString in class Object