net.sourceforge.cilib.problem.dataset
Class DataSetBuilder
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dataSets
protected ArrayList<DataSet> dataSets
DataSetBuilder
public DataSetBuilder()
DataSetBuilder
public DataSetBuilder(DataSetBuilder rhs)
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.