ClusterAbstract
, ClusterWeight
public static class VirialH2OGCPMD.Clusterfoo extends java.lang.Object implements ClusterWeight
ClusterWeight.Factory
Modifier and Type | Field | Description |
---|---|---|
ClusterAbstract |
cluster |
|
double |
r |
|
double |
weight |
Constructor | Description |
---|---|
Clusterfoo(ClusterAbstract cluster,
double r,
double weight) |
Modifier and Type | Method | Description |
---|---|---|
ClusterAbstract |
makeCopy() |
Returns another instance of an identical cluster (shallow copy).
|
int |
pointCount() |
Number of points in the cluster.
|
void |
setTemperature(double temperature) |
|
double |
value(BoxCluster box) |
Value of this cluster for the given pairset at the specified reciprocal
temperature.
|
public final ClusterAbstract cluster
public final double r
public final double weight
public Clusterfoo(ClusterAbstract cluster, double r, double weight)
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 setTemperature(double temperature)
setTemperature
in interface ClusterAbstract