|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbaobab.bio.permutation.Point
public class Point
The Point class represents a point between two values of a permutation
Method Summary | |
---|---|
int |
compareTo(java.lang.Object object)
Compares this point to another point |
Cycle |
getCycle()
Gets the cycle to which this points belongs |
CyclePartition |
getCyclePartition()
Gets the cycle partition to which this point belongs |
Point[] |
getNeighbors()
Gets the neighbors of this point in the permutation |
Point |
getNextPoint()
|
Permutation |
getPermutation()
Gets the permutation to which this element belongs |
int |
getPosition()
Gets the position of this point in the permutation |
Point |
getPreviousPoint()
|
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(Point point)
Tests whether this point is a neighbor of a given point |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Point getNextPoint()
public Point getPreviousPoint()
public boolean isAdjacency()
public int getPosition()
public boolean isNeighborOf(Point point)
point
- the given point
public Point[] getNeighbors()
public boolean isAnalyzed()
public int compareTo(java.lang.Object object)
compareTo
in interface java.lang.Comparable
object
- the other point
public CyclePartition getCyclePartition()
public Cycle getCycle()
public java.lang.String toString()
toString
in class java.lang.Object
public Permutation getPermutation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |