Package elki.data.synthetic.bymodel
Class GeneratorMain.TestModel
- java.lang.Object
-
- elki.data.synthetic.bymodel.GeneratorMain.TestModel
-
- Enclosing class:
- GeneratorMain
private class GeneratorMain.TestModel extends java.lang.ObjectReject objects with a higher density in another generator.- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Modifier Constructor Description privateTestModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAssignment(int i, double[] p)Assign a point to a cluster.-
Methods inherited from class elki.data.synthetic.bymodel.GeneratorMain.AssignPoint
newCluster
-
-
-
-
Method Detail
-
getAssignment
public int getAssignment(int i, double[] p)Description copied from class:GeneratorMain.AssignPointAssign a point to a cluster.- Overrides:
getAssignmentin classGeneratorMain.AssignPoint- Parameters:
i- Cluster numberp- Point- Returns:
- New cluster number.
-
-