public class ClusterInfo
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ClusterInfo() |
ClusterInfo(boolean threadSafe) |
Modifier and Type | Method and Description |
---|---|
double |
getAveragePointDistanceFromCenter() |
double |
getMaxPointDistanceFromCenter() |
double |
getPointDistanceFromCenterVariance() |
java.util.Map<java.lang.String,java.lang.Double> |
getPointDistancesFromCenter() |
java.util.List<java.lang.String> |
getPointsFartherFromCenterThan(double maxDistance) |
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Double>> |
getReverseSortedPointDistancesFromCenter() |
java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Double>> |
getSortedPointDistancesFromCenter() |
double |
getTotalPointDistanceFromCenter() |
void |
setAveragePointDistanceFromCenter(double averageDistanceFromCenter) |
void |
setMaxPointDistanceFromCenter(double maxPointDistanceFromCenter) |
void |
setPointDistanceFromCenterVariance(double pointDistanceFromCenterVariance) |
void |
setPointDistancesFromCenter(java.util.Map<java.lang.String,java.lang.Double> distancesFromCenter) |
void |
setTotalPointDistanceFromCenter(double sumOfSquaredError) |
public ClusterInfo()
public ClusterInfo(boolean threadSafe)
public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Double>> getSortedPointDistancesFromCenter()
public java.util.Set<java.util.Map.Entry<java.lang.String,java.lang.Double>> getReverseSortedPointDistancesFromCenter()
public java.util.List<java.lang.String> getPointsFartherFromCenterThan(double maxDistance)
public double getAveragePointDistanceFromCenter()
public void setAveragePointDistanceFromCenter(double averageDistanceFromCenter)
public double getTotalPointDistanceFromCenter()
public void setTotalPointDistanceFromCenter(double sumOfSquaredError)
public java.util.Map<java.lang.String,java.lang.Double> getPointDistancesFromCenter()
public void setPointDistancesFromCenter(java.util.Map<java.lang.String,java.lang.Double> distancesFromCenter)
public double getPointDistanceFromCenterVariance()
public void setPointDistanceFromCenterVariance(double pointDistanceFromCenterVariance)
public double getMaxPointDistanceFromCenter()
public void setMaxPointDistanceFromCenter(double maxPointDistanceFromCenter)