|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbaobab.bio.permutation.SignedPermutationReversalFilter
public class SignedPermutationReversalFilter
The SignedPermutationReversalFilter filters valid reversal blocks for a SignedPermutation
Method Summary | |
---|---|
java.util.TreeSet |
getContainerReversalsStartingAfter(int position,
Point point)
Gets the reversals starting after a specific position (inclusive) which contain a given point |
java.util.TreeSet |
getCycleSplittingReversals()
Gets the list of cycle splitting reversals of this permutation |
java.util.Vector<int[]> |
getCycleSplittingReversalsAsArraysOfInt()
Gets the list of cycle splitting reversals of this permutation |
java.util.TreeSet<SignedReversalBlock> |
getCycleSplittingReversalsBetweenIntervals(int[] interval1,
int[] interval2)
Gets the list of cycle splitting reversals of this permutation which start within the first given interval and end within the second given interval |
java.util.Vector<int[]> |
getCycleSplittingReversalsBetweenIntervalsAsArraysOfInt(int[] interval1,
int[] interval2)
Gets the list of cycle splitting reversals of this permutation which start within the first given interval and end within the second given interval |
java.util.TreeSet<SignedReversalBlock> |
getCycleSplittingReversalsStartingAt(int position)
Gets the list of cycle splitting reversals starting exactly at a specific position |
java.util.TreeSet<SignedReversalBlock> |
getCycleSplittingReversalsWithinIntervals(java.util.Vector<int[]> intervals)
Gets the list of proper reversals of this permutation within the given intervals |
java.util.Vector<int[]> |
getCycleSplittingReversalsWithinIntervalsAsArraysOfInt(java.util.Vector<int[]> intervals)
Gets the list of proper reversals of this permutation within the given intervals |
SignedReversalBlock |
getFirstShortestReversalStartingAfter(int position)
Gets the first shortest reversal starting after a specific position (inclusive) |
SignedReversalBlock |
getLastLongestReversalStartingAfter(int position)
Gets the last longest reversal starting after a specific position (inclusive) |
SignedReversalBlock |
getLongestCycleSplittingReversalStartingAt(int position)
Gets the longest cycle splitting reversal starting exactly at a specific position |
SignedReversalBlock |
getLongestReversalStartingAt(int position)
Gets the longest reversal starting exactly at a specific position |
SignedPermutation |
getPermutation()
|
java.util.TreeSet<SignedReversalBlock> |
getReversalsStartingAt(int position)
Gets the reversals starting exactly at a specific position |
SignedReversalBlock |
getShortestContainerReversalStartingAfter(int position,
Point point)
Gets the shortest reversal block starting after a specific position (inclusive) that contains a given point |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public SignedPermutation getPermutation()
public java.util.TreeSet<SignedReversalBlock> getReversalsStartingAt(int position)
position
- a given position
public java.util.TreeSet getContainerReversalsStartingAfter(int position, Point point)
position
- a given positionpoint
- a given point
public SignedReversalBlock getLongestReversalStartingAt(int position)
position
- a given position
public SignedReversalBlock getLastLongestReversalStartingAfter(int position)
position
- a given position
public SignedReversalBlock getFirstShortestReversalStartingAfter(int position)
public SignedReversalBlock getShortestContainerReversalStartingAfter(int position, Point point)
position
- a given positionpoint
- a given point
public java.util.TreeSet<SignedReversalBlock> getCycleSplittingReversalsStartingAt(int position)
position
- a given position
public SignedReversalBlock getLongestCycleSplittingReversalStartingAt(int position)
position
- a given position
public java.util.TreeSet<SignedReversalBlock> getCycleSplittingReversalsBetweenIntervals(int[] interval1, int[] interval2)
interval1
- (length=2, start and end positions of the first interval)interval2
- (length=2, start and end positions of the second interval)
public java.util.Vector<int[]> getCycleSplittingReversalsBetweenIntervalsAsArraysOfInt(int[] interval1, int[] interval2)
interval1
- (length=2, start and end positions of the first interval)interval2
- (length=2, start and end positions of the second interval)
public java.util.TreeSet<SignedReversalBlock> getCycleSplittingReversalsWithinIntervals(java.util.Vector<int[]> intervals)
intervals
- a Vector of int[] (length=2, start and end positions of an interval)
public java.util.TreeSet getCycleSplittingReversals()
public java.util.Vector<int[]> getCycleSplittingReversalsAsArraysOfInt()
public java.util.Vector<int[]> getCycleSplittingReversalsWithinIntervalsAsArraysOfInt(java.util.Vector<int[]> intervals)
intervals
- a Vector of int[] (length=2, start and end positions of an interval)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |