ca.cas.multigraph
Class AbVertex

java.lang.Object
  extended by 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.


Field Summary
static int FREE_END
           
static int LEFT
           
static int RIGHT
           
static int TELOMERE
           
 
Constructor Summary
AbVertex(int type, long base_pair, int orient, Chromosome chrom)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 long getBP()
           
 Chromosome getChrom()
           
 long getLocation()
           
 int getType()
           
 int orient()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

AbVertex

public AbVertex(int type,
                long base_pair,
                int orient,
                Chromosome chrom)
Method Detail

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