ca.cas.multigraph
Class AbVertex
java.lang.Object
ca.cas.multigraph.AbVertex
- All Implemented Interfaces:
- java.lang.Comparable
public class AbVertex
- extends java.lang.Object
- implements java.lang.Comparable
This is the basic Vertex class in the AbGraph. Contains a type indicating telomere or free end,
the chromosome to which it is associated and its location on that chromosome.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TELOMERE
public static final int TELOMERE
- See Also:
- Constant Field Values
FREE_END
public static final int FREE_END
- See Also:
- Constant Field Values
LEFT
public static final int LEFT
- See Also:
- Constant Field Values
RIGHT
public static final int RIGHT
- See Also:
- Constant Field Values
AbVertex
public AbVertex(int type,
long base_pair,
int orient,
Chromosome chrom)
getType
public int getType()
getChrom
public Chromosome getChrom()
getLocation
public long getLocation()
getBP
public long getBP()
orient
public int orient()
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object