|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbaobab.bio.permutation.BPGraphPoint
public class BPGraphPoint
The BPGraphPoint class represents a point between two values of a permutation (and dark edges in the corresponding breakpoint graph)
Method Summary | |
---|---|
int |
compareTo(java.lang.Object object)
Compares this point to another point |
BPGraphCycle |
getCycle()
Gets the cycle to which this points belongs |
BPGraphCyclePartition |
getCyclePartition()
Gets the cycle partition to which this point belongs |
BPGraphPoint[] |
getNeighbors()
Gets the neighbors of this point in the breakpoint graph |
BPGraphPoint |
getNextPoint()
Gets the point that follows this point in the breakpoint graph |
PermutationBPGraph |
getPermutationBPGraph()
Gets the permutation breakpoint graph to which this element belongs |
int |
getPosition()
Gets the position of this point in the permutation |
BPGraphPoint |
getPreviousPoint()
Gets the point that precedes this point in the breakpoint graph |
boolean |
isAdjacency()
Tests whether this point is an adjacency |
boolean |
isAnalyzed()
Tests whether this point is already analyzed (belongs to an active cycle) |
boolean |
isNeighborOf(BPGraphPoint point)
Tests whether this point is a neighbor of a given point in the breakpoint graph |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public BPGraphPoint getNextPoint()
public BPGraphPoint getPreviousPoint()
public boolean isAdjacency()
public int getPosition()
public boolean isNeighborOf(BPGraphPoint point)
point
- the given point
public BPGraphPoint[] getNeighbors()
public boolean isAnalyzed()
public int compareTo(java.lang.Object object)
compareTo
in interface java.lang.Comparable
object
- the other point
public BPGraphCyclePartition getCyclePartition()
public BPGraphCycle getCycle()
public java.lang.String toString()
toString
in class java.lang.Object
public PermutationBPGraph getPermutationBPGraph()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |