net.sourceforge.cilib.bioinf.sequencealignment
Class FASTADataSetBuilder

java.lang.Object
  extended by net.sourceforge.cilib.problem.dataset.DataSetBuilder
      extended by net.sourceforge.cilib.bioinf.sequencealignment.FASTADataSetBuilder
All Implemented Interfaces:
Serializable, Iterable<DataSet>, Cloneable

public class FASTADataSetBuilder
extends DataSetBuilder

Builds the input data set that gets fed as sequences to be aligned. Input sequences must be in the FASTA format.

Author:
Fabien Zablocki
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sourceforge.cilib.problem.dataset.DataSetBuilder
dataSets
 
Constructor Summary
FASTADataSetBuilder()
          Create an instance of FASTADataSetBuilder.
FASTADataSetBuilder(FASTADataSetBuilder copy)
          Copy constructor.
 
Method Summary
 FASTADataSetBuilder getClone()
          Create a cloned copy of the current object and return it.
 ArrayList<String> getStrings()
          Get the list of build Strings.
 void initialise()
          
 
Methods inherited from class net.sourceforge.cilib.problem.dataset.DataSetBuilder
addDataSet, getDataSet, iterator, uninitialise
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FASTADataSetBuilder

public FASTADataSetBuilder()
Create an instance of FASTADataSetBuilder.


FASTADataSetBuilder

public FASTADataSetBuilder(FASTADataSetBuilder copy)
Copy constructor. Copy the given instane.

Parameters:
copy - The instance to copy.
Method Detail

getClone

public FASTADataSetBuilder getClone()
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 Cloneable
Specified by:
getClone in class DataSetBuilder
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

initialise

public void initialise()

Specified by:
initialise in class DataSetBuilder

getStrings

public ArrayList<String> getStrings()
Get the list of build Strings.

Returns:
The list of Strings.


Copyright © 2009 CIRG. All Rights Reserved.