ca.quine.jcommons.transform.graph
Class Path

java.lang.Object
  |
  +--ca.quine.jcommons.transform.graph.Path

public class Path
extends Object


Field Summary
static Path NO_PATH
           
static int NO_PATH_COST
           
 
Constructor Summary
Path()
           
Path(Path oldPath)
           
 
Method Summary
 void addNode(TransformNode node, int cost)
           
 int getCost()
           
 Iterator getIterator()
           
 boolean hasNode(TransformNode node)
           
 boolean isNoPath()
           
 void reverse()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_PATH_COST

public static final int NO_PATH_COST
See Also:
Constant Field Values

NO_PATH

public static final Path NO_PATH
Constructor Detail

Path

public Path()

Path

public Path(Path oldPath)
Method Detail

addNode

public void addNode(TransformNode node,
                    int cost)

getIterator

public Iterator getIterator()

getCost

public int getCost()

hasNode

public boolean hasNode(TransformNode node)

isNoPath

public boolean isNoPath()

reverse

public void reverse()

toString

public String toString()
Overrides:
toString in class Object