public interface ClusterShapeGenerator
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.
|
void addMemberPoint(double[] point)
point
- point ordinatesvoid clear()
JGeometry generateShape()
void setClusterCenter(double[] point)
point
- point ordinatesvoid setup(Configuration conf)
conf
- the job configurationCopyright © 2017 Oracle and/or its affiliates. All Rights Reserved.