Package oracle.spatial.network.lod
Class ClusterSizeConstraint
- java.lang.Object
-
- oracle.spatial.network.lod.ClusterSizeConstraint
-
- All Implemented Interfaces:
ClusteringConstraint
public class ClusterSizeConstraint extends java.lang.Object implements ClusteringConstraint
- Since:
- 12.2
-
-
Constructor Summary
Constructors Constructor Description ClusterSizeConstraint(int minSize, int maxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxSize()
int
getMinSize()
boolean
isSatisfied(ClusterResult currResult)
void
setMaxSize(int maxSize)
void
setMinSize(int minSize)
-
-
-
Method Detail
-
isSatisfied
public boolean isSatisfied(ClusterResult currResult)
- Specified by:
isSatisfied
in interfaceClusteringConstraint
-
setMinSize
public void setMinSize(int minSize)
-
getMinSize
public int getMinSize()
-
setMaxSize
public void setMaxSize(int maxSize)
-
getMaxSize
public int getMaxSize()
-
-