ClusterAbstract
, ClusterWeight
, java.io.Serializable
public class ClusterWeightUmbrella extends java.lang.Object implements ClusterWeight, java.io.Serializable
ClusterWeight.Factory
Constructor | Description |
---|---|
ClusterWeightUmbrella(ClusterAbstract[] allClusters) |
Contructs an umbrella cluster from the given clusters.
|
Modifier and Type | Method | Description |
---|---|---|
ClusterAbstract[] |
getClusters() |
|
double[] |
getWeightCoefficients() |
|
ClusterAbstract |
makeCopy() |
Returns another instance of an identical cluster (shallow copy).
|
int |
pointCount() |
Number of points in the cluster.
|
void |
setTemperature(double temp) |
|
void |
setWeightCoefficients(double[] a) |
|
double |
value(BoxCluster box) |
Value of this cluster for the given pairset at the specified reciprocal
temperature.
|
public ClusterWeightUmbrella(ClusterAbstract[] allClusters)
public ClusterAbstract makeCopy()
ClusterAbstract
makeCopy
in interface ClusterAbstract
public int pointCount()
ClusterAbstract
pointCount
in interface ClusterAbstract
public double value(BoxCluster box)
ClusterAbstract
value
in interface ClusterAbstract
public void setWeightCoefficients(double[] a)
public double[] getWeightCoefficients()
public void setTemperature(double temp)
setTemperature
in interface ClusterAbstract
public ClusterAbstract[] getClusters()