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.Object
Reject objects with a higher density in another generator.- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Modifier Constructor Description private
TestModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAssignment(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.AssignPoint
Assign a point to a cluster.- Overrides:
getAssignment
in classGeneratorMain.AssignPoint
- Parameters:
i
- Cluster numberp
- Point- Returns:
- New cluster number.
-
-