edu.uconn.mcb.lineageevolver
Class GenomeVisitor

java.lang.Object
  extended byedu.uconn.mcb.lineageevolver.GenomeVisitor
All Implemented Interfaces:
Visitor
Direct Known Subclasses:
GeneDuplicator, GeneKiller, GenomeEvolver, GenomeRearranger

public abstract class GenomeVisitor
extends java.lang.Object
implements Visitor

Abstract class for all visitors meant exclusively for Genomes.

Author:
Lina Pezzella, Hasan Khalil

Constructor Summary
GenomeVisitor()
           
 
Method Summary
 void applyTo(Visitable v)
          Initiates a handshake with the provided Visitable.
abstract  void applyToGenome(Genome g)
          Applies this visitor to the given Genome.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenomeVisitor

public GenomeVisitor()
Method Detail

applyTo

public void applyTo(Visitable v)
Initiates a handshake with the provided Visitable.

Specified by:
applyTo in interface Visitor
Parameters:
v - the Visitable object to be visited.
See Also:
Visitor.applyTo(edu.uconn.mcb.lineageevolver.misc.Visitable)

applyToGenome

public abstract void applyToGenome(Genome g)
Applies this visitor to the given Genome.

Parameters:
g - the Genome to apply this visitor to.