ClusterAbstract
public class ClusterChainSoft extends java.lang.Object implements ClusterAbstract
Modifier and Type | Field | Description |
---|---|---|
protected double |
beta |
|
protected long |
cPairID |
|
protected boolean |
doRing |
|
protected MayerFunction |
f |
|
protected double[][] |
fValues |
|
protected long |
lastCPairID |
|
protected double |
lastValue |
|
protected int |
n |
|
protected double[][] |
nC |
|
protected int |
nf |
|
protected double |
value |
Constructor | Description |
---|---|
ClusterChainSoft(int nPoints,
MayerFunction f) |
|
ClusterChainSoft(int nPoints,
MayerFunction f,
boolean doRing) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
calcValue() |
|
ClusterAbstract |
makeCopy() |
Returns another instance of an identical cluster (shallow copy).
|
long |
numDiagrams() |
|
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 final int n
protected final int nf
protected final MayerFunction f
protected final boolean doRing
protected final double[][] nC
protected final double[][] fValues
protected long cPairID
protected long lastCPairID
protected double value
protected double lastValue
protected double beta
public ClusterChainSoft(int nPoints, MayerFunction f)
public ClusterChainSoft(int nPoints, MayerFunction f, boolean doRing)
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 long numDiagrams()
protected void calcValue()
protected void updateF(BoxCluster box)
public void setTemperature(double temperature)
setTemperature
in interface ClusterAbstract