edu.uconn.mcb.lineageevolver
Class GenomeRearranger

java.lang.Object
  extended byedu.uconn.mcb.lineageevolver.GenomeVisitor
      extended byedu.uconn.mcb.lineageevolver.GenomeRearranger
All Implemented Interfaces:
Visitor

public class GenomeRearranger
extends GenomeVisitor

GenomeVisitor subclass encapsulating the rearrangement process.

Author:
Lina Pezzella, Hasan Khalil

Constructor Summary
GenomeRearranger()
           
 
Method Summary
 void applyToGenome(Genome g)
          Applies rearrangement on the given genome.
 
Methods inherited from class edu.uconn.mcb.lineageevolver.GenomeVisitor
applyTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenomeRearranger

public GenomeRearranger()
Method Detail

applyToGenome

public void applyToGenome(Genome g)
Applies rearrangement on the given genome. Delegates rearrangement to the Genome. Uses symmetric reversals.

Specified by:
applyToGenome in class GenomeVisitor
Parameters:
g - the Genome to apply this visitor to.
See Also:
GenomeVisitor.applyToGenome(edu.uconn.mcb.lineageevolver.Genome), Genome.symmetricReversal()