net.sourceforge.cilib.problem.dataset
Class DataSetBuilder

java.lang.Object
  extended by net.sourceforge.cilib.problem.dataset.DataSetBuilder
All Implemented Interfaces:
Serializable, Iterable<DataSet>, Cloneable
Direct Known Subclasses:
AssociatedPairDataSetBuilder, BinaryDataSetBuilder, FASTADataSetBuilder, TextDataSetBuilder

public abstract class DataSetBuilder
extends Object
implements Iterable<DataSet>, Cloneable, Serializable

Author:
Gary Pampara
See Also:
Serialized Form

Field Summary
protected  ArrayList<DataSet> dataSets
           
 
Constructor Summary
DataSetBuilder()
           
DataSetBuilder(DataSetBuilder rhs)
           
 
Method Summary
 void addDataSet(DataSet dataSet)
           
abstract  DataSetBuilder getClone()
          Create a cloned copy of the current object and return it.
 DataSet getDataSet(int index)
           
abstract  void initialise()
           
 Iterator<DataSet> iterator()
           
 void uninitialise(Vector centroids)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataSets

protected ArrayList<DataSet> dataSets
Constructor Detail

DataSetBuilder

public DataSetBuilder()

DataSetBuilder

public DataSetBuilder(DataSetBuilder rhs)
Method Detail

getClone

public abstract DataSetBuilder getClone()
Description copied from interface: Cloneable
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
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

addDataSet

public void addDataSet(DataSet dataSet)

getDataSet

public DataSet getDataSet(int index)

iterator

public Iterator<DataSet> iterator()
Specified by:
iterator in interface Iterable<DataSet>

initialise

public abstract void initialise()

uninitialise

public void uninitialise(Vector centroids)


Copyright © 2009 CIRG. All Rights Reserved.