ca.uwaterloo.cs.ql.fb
Class Path
java.lang.Object
ca.uwaterloo.cs.ql.fb.Path
public class Path
- extends java.lang.Object
Path.
|
Constructor Summary |
Path(int head)
|
Path(int[] vertices)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Path
public Path(int head)
Path
public Path(int[] vertices)
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)