public class DummyClusterShapeGenerator extends java.lang.Object implements ClusterShapeGenerator
ClusterShapeGenerator that produces no shape.| Constructor and Description |
|---|
DummyClusterShapeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMemberPoint(double[] point)
Adds the point of a cluster member.
|
void |
clear()
Clears the current status.
|
JGeometry |
generateShape()
Generates the current cluster shape.
|
void |
setClusterCenter(double[] point)
Sets the center point of the current cluster
|
void |
setup(Configuration conf)
Perform initialization tasks.
|
public void addMemberPoint(double[] point)
ClusterShapeGeneratoraddMemberPoint in interface ClusterShapeGeneratorpoint - point ordinatespublic void clear()
ClusterShapeGeneratorclear in interface ClusterShapeGeneratorpublic JGeometry generateShape()
ClusterShapeGeneratorgenerateShape in interface ClusterShapeGeneratorpublic void setClusterCenter(double[] point)
ClusterShapeGeneratorsetClusterCenter in interface ClusterShapeGeneratorpoint - point ordinatespublic void setup(Configuration conf)
ClusterShapeGeneratorsetup in interface ClusterShapeGeneratorconf - the job configurationCopyright © 2017 Oracle and/or its affiliates. All Rights Reserved.