ClusterAbstract
public class ClusterSinglyConnected extends java.lang.Object implements ClusterAbstract
Modifier and Type | Field | Description |
---|---|---|
protected double |
beta |
|
protected double[] |
bSum |
|
protected long |
cPairID |
|
protected MayerFunction |
f |
|
protected double[] |
fL |
|
protected double[] |
fLN |
|
protected long |
lastCPairID |
|
protected double |
lastValue |
|
protected int |
n |
|
protected int |
nf |
|
protected int[][] |
partitions |
|
protected double |
value |
Constructor | Description |
---|---|
ClusterSinglyConnected(int nPoints,
MayerFunction f) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
calcValue() |
|
protected int[] |
computePartitions(int i,
int iH) |
|
static void |
main(java.lang.String[] args) |
|
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 double[] fL
protected final double[] fLN
protected final double[] bSum
protected long cPairID
protected long lastCPairID
protected double value
protected double lastValue
protected double beta
protected final int[][] partitions
public ClusterSinglyConnected(int nPoints, MayerFunction f)
protected final int[] computePartitions(int i, int iH)
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
public static void main(java.lang.String[] args)