net.sourceforge.cilib.problem.dataset
Class MatrixDataSetBuilder
java.lang.Object
net.sourceforge.cilib.problem.dataset.DataSetBuilder
net.sourceforge.cilib.problem.dataset.BinaryDataSetBuilder
net.sourceforge.cilib.problem.dataset.MatrixDataSetBuilder
- All Implemented Interfaces:
- Serializable, Iterable<DataSet>, Cloneable
public class MatrixDataSetBuilder
- extends BinaryDataSetBuilder
TODO: This needs to implement the reading of a matrix as needed by MappingProblem.
- 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 |
MatrixDataSetBuilder
public MatrixDataSetBuilder()
MatrixDataSetBuilder
public MatrixDataSetBuilder(MatrixDataSetBuilder rhs)
getClone
public MatrixDataSetBuilder 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 BinaryDataSetBuilder
getMatrix
public Matrix<Double> getMatrix()
- Get the constructed
Matrix
.
- Returns:
- The current
Matrix
instance.
getD
public int getD()
- Returns:
- The value of d.
getM
public int getM()
- Returns:
- The current value of m.
Copyright © 2009 CIRG. All Rights Reserved.