public class DummyClusterShapeGenerator extends java.lang.Object implements ClusterShapeGenerator
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.
|
oracle.spatial.geometry.JGeometry |
generateShape()
Generates the current cluster shape.
|
void |
setClusterCenter(double[] point)
Sets the center point of the current cluster
|
void |
setup(org.apache.hadoop.conf.Configuration conf)
Perform initialization tasks.
|
public void setup(org.apache.hadoop.conf.Configuration conf)
ClusterShapeGenerator
setup
in interface ClusterShapeGenerator
conf
- the job configurationpublic void clear()
ClusterShapeGenerator
clear
in interface ClusterShapeGenerator
public void setClusterCenter(double[] point)
ClusterShapeGenerator
setClusterCenter
in interface ClusterShapeGenerator
point
- point ordinatespublic void addMemberPoint(double[] point)
ClusterShapeGenerator
addMemberPoint
in interface ClusterShapeGenerator
point
- point ordinatespublic oracle.spatial.geometry.JGeometry generateShape()
ClusterShapeGenerator
generateShape
in interface ClusterShapeGenerator