ClusterAbstract
, ClusterAbstractMultivalue
public class ClusterWheatleyPT extends java.lang.Object implements ClusterAbstractMultivalue
Modifier and Type | Class | Description |
---|---|---|
class |
ClusterWheatleyPT.ClusterRetrieveOrders |
|
static class |
ClusterWheatleyPT.ClusterRetrievePrimesBD |
Cluster returns only BD values.
|
Modifier and Type | Field | Description |
---|---|---|
protected double |
beta |
|
protected long |
cPairID |
|
protected boolean |
doCaching |
|
protected double[][] |
fA |
|
protected double[][] |
fB |
|
protected double[][] |
fC |
|
protected MayerFunction |
fP |
|
protected double[][] |
fQ |
|
protected MayerFunction |
fR |
|
protected double[] |
fU |
|
protected long |
lastCPairID |
|
protected double[] |
lastValue |
|
protected int |
n |
|
protected int |
nf |
|
protected int |
nOrder |
|
protected double |
tol |
|
protected double[] |
value |
Constructor | Description |
---|---|
ClusterWheatleyPT(int nPoints,
int nOrder,
MayerFunction fR,
MayerFunction fP,
double tol) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
calcFullFQ() |
This calculates all FQ values given that the entries for pairs have
already been populated.
|
void |
calcValue(BoxCluster box) |
Returns the cluster value for the given configuration.
|
double[] |
getAllLastValues(BoxCluster box) |
|
int |
getNumValues() |
|
ClusterWheatleyPT.ClusterRetrieveOrders |
makeClusterOrder(int o) |
|
ClusterAbstract |
makeCopy() |
Returns another instance of an identical cluster (shallow copy).
|
int |
pointCount() |
Number of points in the cluster.
|
void |
setTemperature(double temperature) |
|
protected void |
updateF(BoxCluster box) |
|
double |
value(BoxCluster box) |
Value of this cluster for the given pairset at the specified reciprocal
temperature.
|
protected long cPairID
protected long lastCPairID
protected final double[] value
protected final double[] lastValue
protected final int n
protected final int nf
protected final int nOrder
protected final MayerFunction fR
protected final MayerFunction fP
protected final double[][] fQ
protected final double[] fU
protected final double[][] fC
protected final double[][] fA
protected final double[][] fB
protected double beta
protected double tol
protected boolean doCaching
public ClusterWheatleyPT(int nPoints, int nOrder, MayerFunction fR, MayerFunction fP, double tol)
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
protected void updateF(BoxCluster box)
protected void calcFullFQ()
public void calcValue(BoxCluster box)
public void setTemperature(double temperature)
setTemperature
in interface ClusterAbstract
public ClusterWheatleyPT.ClusterRetrieveOrders makeClusterOrder(int o)
public int getNumValues()
getNumValues
in interface ClusterAbstractMultivalue
public double[] getAllLastValues(BoxCluster box)
getAllLastValues
in interface ClusterAbstractMultivalue