|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PermutationBPGraph
The PermutationBPGraph interface represents a general permutation pair and its breakpoint graph
Method Summary | |
---|---|
BPGraphPoint |
getFirstPoint()
Gets the first point of the permutation breakpoint graph |
PermutationBPGraphFormatter |
getFormatter()
Gets this breakpoint graph formatter |
BPGraphPoint |
getLastPoint()
Gets the last point of the permutation breakpoint graph |
int |
getLastPointIndex()
Gets the index of the last point of the permutation breakpoint graph |
int |
getLongestNameLength()
Gets the longest length of a value name in the breakpoint graph |
int |
getMappedValueAt(int pos)
Gets the value of the mapped element located at a specified position of the permutation breakpoint graph |
java.lang.String |
getNameAt(int pos)
Gets the value of the element located at a specified position of the permutation breakpoint graph |
int |
getNumberOfCycles()
Gets the number of cycles of the permutation breakpoint graph |
BPGraphPoint |
getPointAt(int pos)
Gets a point at a specific position of the permutation breakpoint graph |
int |
getPositionOf(int value)
Gets the position where a specified element of the permutation is located |
int |
getPositionOf(java.lang.String name)
Gets the position of the element identified by the given name |
int |
getPositionOfMapped(int value)
Gets the position where a specified mapped element of the permutation breakpoint graph is located |
int |
getValueAt(int pos)
Gets the value of the element located at a specified position of the permutation breakpoint graph |
boolean |
isLinear()
Tests whether the breakpoint graph corresponds to a linear or a circular permutation |
boolean |
isRevertedAt(int pos)
Gets the value of the element located at a specified position of the permutation breakpoint graph |
boolean |
isSorted()
Tests whether the breakpoint graph represents a sorted permutation |
int |
size()
Gets the size (or the number of values) of the breakpoint graph |
Method Detail |
---|
int size()
int getNumberOfCycles()
boolean isSorted()
PermutationBPGraphFormatter getFormatter()
BPGraphPoint getPointAt(int pos)
pos
- the given position
int getMappedValueAt(int pos)
pos
- the specified position
int getValueAt(int pos)
pos
- the specified position
int getPositionOf(int value)
value
- the value of the specified element
int getPositionOfMapped(int value)
value
- the value of the specified mapped element
boolean isLinear()
java.lang.String getNameAt(int pos)
pos
- the specified position
int getPositionOf(java.lang.String name)
name
- the given name
boolean isRevertedAt(int pos)
pos
- the specified position
int getLongestNameLength()
BPGraphPoint getFirstPoint()
int getLastPointIndex()
BPGraphPoint getLastPoint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |