net.sourceforge.cilib.bioinf.sequencealignment
Class AlignmentVisualizer

java.lang.Object
  extended by net.sourceforge.cilib.bioinf.sequencealignment.AlignmentVisualizer
All Implemented Interfaces:
Serializable, Measurement, Cloneable

public class AlignmentVisualizer
extends Object
implements Measurement

This class serves as a measurement, its puspose is to display the output alignment. Options include the "fullColumns" flag that also displays a star (*) at the bottom of each fully matched columns.

Author:
Fabien Zablocki
See Also:
Serialized Form

Constructor Summary
AlignmentVisualizer()
           
 
Method Summary
 AlignmentVisualizer getClone()
          Create a cloned copy of the current object and return it.
 String getDomain()
          Get the domain string representing what this measurement's results will conform to.
 Type getValue(Algorithm algorithm)
          Get the value of the measurement.
 void setFullColumns(boolean visualiseMatches)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlignmentVisualizer

public AlignmentVisualizer()
Method Detail

getValue

public Type getValue(Algorithm algorithm)
Description copied from interface: Measurement
Get the value of the measurement. The represenation of the measurement will be based on the domain string defined Measurement.getDomain()

Specified by:
getValue in interface Measurement
Parameters:
algorithm - The algorithm to obtain the measurement from.
Returns:
The Type representing the value of the measurement.

setFullColumns

public void setFullColumns(boolean visualiseMatches)

getClone

public AlignmentVisualizer getClone()
Description copied from interface: Measurement
Create a cloned copy of the current object and return it. In general the created copy will be a deep copy of the provided instance. As a result this operation an be quite expensive if used incorrectly.

Specified by:
getClone in interface Measurement
Specified by:
getClone in interface Cloneable
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

getDomain

public String getDomain()
Description copied from interface: Measurement
Get the domain string representing what this measurement's results will conform to.

Specified by:
getDomain in interface Measurement
Returns:
The Domain String representing the represenation of the measurement


Copyright © 2009 CIRG. All Rights Reserved.