ca.uwaterloo.cs.ql.fb
Class Path

java.lang.Object
  extended by ca.uwaterloo.cs.ql.fb.Path

public class Path
extends java.lang.Object

Path.


Constructor Summary
Path(int head)
           
Path(int[] vertices)
           
 
Method Summary
 boolean contains(int v)
           
 int countVertices()
           
 Tuple getTuple()
           
 int head()
           
 int length()
           
static Path link(int head, int tail)
           
static Path link(int head, Path p)
           
static Path link(Path p, int tail)
           
static Path link(Path p1, Path p2)
           
 int tail()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Path

public Path(int head)

Path

public Path(int[] vertices)
Method Detail

head

public int head()

tail

public int tail()

length

public int length()

countVertices

public int countVertices()

getTuple

public Tuple getTuple()

contains

public boolean contains(int v)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

link

public static Path link(Path p1,
                        Path p2)

link

public static Path link(int head,
                        Path p)

link

public static Path link(Path p,
                        int tail)

link

public static Path link(int head,
                        int tail)