Package elki.data.model
Class GeneratorModel
- java.lang.Object
-
- elki.data.model.SimplePrototypeModel<double[]>
-
- elki.data.model.MeanModel
-
- elki.data.model.GeneratorModel
-
- All Implemented Interfaces:
Model
,PrototypeModel<double[]>
,TextWriteable
public class GeneratorModel extends MeanModel
Cluster model for synthetically generated data.- Since:
- 0.7.5
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description private GeneratorInterface
generator
Cluster generator.-
Fields inherited from class elki.data.model.SimplePrototypeModel
prototype
-
-
Constructor Summary
Constructors Constructor Description GeneratorModel(GeneratorInterface generator, double[] mean)
Constructor with mean.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneratorInterface
getGenerator()
Get the cluster generator.-
Methods inherited from class elki.data.model.MeanModel
getMean, getPrototypeType
-
Methods inherited from class elki.data.model.SimplePrototypeModel
getPrototype, prototypeToString, toString, writeToText
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface elki.result.textwriter.TextWriteable
writeToText
-
-
-
-
Field Detail
-
generator
private GeneratorInterface generator
Cluster generator.
-
-
Constructor Detail
-
GeneratorModel
public GeneratorModel(GeneratorInterface generator, double[] mean)
Constructor with mean.- Parameters:
generator
- Cluster generator.mean
- Mean vector.
-
-
Method Detail
-
getGenerator
public GeneratorInterface getGenerator()
Get the cluster generator.- Returns:
- Cluster generator
-
-