net.sourceforge.cilib.problem.dataset
Interface ClusterableDataSet
- All Known Implementing Classes:
- AssociatedPairDataSetBuilder
public interface ClusterableDataSet
All datasets that will be clustered have to implement this interface.
- Author:
- Theuns Cloete
getNumberOfPatterns
int getNumberOfPatterns()
getPattern
ClusterableDataSet.Pattern getPattern(int index)
getPatterns
ArrayList<ClusterableDataSet.Pattern> getPatterns()
getMean
Vector getMean()
getVariance
double getVariance()
getCachedDistance
double getCachedDistance(int x,
int y)
initialise
void initialise()
Copyright © 2009 CIRG. All Rights Reserved.