|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectedu.uconn.mcb.lineageevolver.Recombiner
edu.uconn.mcb.lineageevolver.DiagonalRecombiner
Description of type goes here.
| Nested Class Summary |
| Nested classes inherited from class edu.uconn.mcb.lineageevolver.Recombiner |
Recombiner.NoRecombineRegion |
| Field Summary |
| Fields inherited from class edu.uconn.mcb.lineageevolver.Recombiner |
_gneDestination, _gneSource, DEFAULT_RECOMBINE_MEAN, DEFAULT_RECOMBINE_PADDING, DEFAULT_RECOMBINE_STDEV, randomNumberGenerator |
| Constructor Summary | |
DiagonalRecombiner(Gene gneSource,
Gene gneDestination)
Default constructor for objects of type DiagonalRecombiner. |
|
| Method Summary | |
private int |
findEnd(int target)
Searches for matching regions between source and destination genes within a reasonable distance of the provided target region. |
private int |
findStart(int start,
int end)
Searches the source and destination genes between given start and end points for a matching region of length 6. |
private boolean |
isIdentical(int start,
int distance)
Determines if a given region is identical between both source and destination Genes. |
void |
recombine()
Processes recombination between the source and destination genes. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DiagonalRecombiner(Gene gneSource,
Gene gneDestination)
Recombiner.Recombiner(Gene, Gene)| Method Detail |
public void recombine()
throws Recombiner.NoRecombineRegion
Recombiner
recombine in class RecombinerRecombiner.NoRecombineRegion - If no regioin suitable for recombination was found.Recombiner.recombine()
private int findStart(int start,
int end)
start - the start point of the search.end - the end point of the search.
private int findEnd(int target)
target - the desired center for a matching sequence to be found.
DEFAULT_RECOMBINE_PADDING, or -1 if none was found within reasonable boundaries.Recombiner.DEFAULT_RECOMBINE_PADDING,
Recombiner.DEFAULT_RECOMBINE_STDEV
private boolean isIdentical(int start,
int distance)
start - the location to start checking identicality.distance - the distance from the start location to stop checking identicality.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||