ClusterAbstractpublic class ClusterSumStickyEF extends ClusterSumEF
| Modifier and Type | Field | Description |
|---|---|---|
int |
iDiagram |
|
int |
oldDiagram |
|
protected IRandom |
random |
beta, clusters, clusterWeights, cPairID, debug, doCaching, f, fOld, fullBondIndexArray, fValues, lastCPairID, lastValue, value| Constructor | Description |
|---|---|
ClusterSumStickyEF(ClusterBonds[] subClusters,
double[] subClusterWeights,
MayerFunction[] fArray,
ClusterSumStickyEF[] buddies,
IRandom random) |
|
ClusterSumStickyEF(ClusterSumEF cluster,
ClusterSumStickyEF[] buddies,
IRandom random) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
calcValue() |
|
protected static MayerFunction[] |
chopF(MayerFunction[] feArray) |
|
void |
randomizeDiagram() |
set the diagram used for calculating the value to a random one.
|
void |
revertDiagram() |
set the diagram used for calculating the value to the ith diagram.
|
void |
setDiagram(int i) |
|
double |
value(BoxCluster box) |
Value of this cluster for the given pairset at the specified reciprocal
temperature.
|
getClusters, getFValues, getTemperature, getWeights, pointCount, setCaching, setTemperaturemakeCopy, updateFpublic int iDiagram
public int oldDiagram
protected final IRandom random
public ClusterSumStickyEF(ClusterBonds[] subClusters, double[] subClusterWeights, MayerFunction[] fArray, ClusterSumStickyEF[] buddies, IRandom random)
public ClusterSumStickyEF(ClusterSumEF cluster, ClusterSumStickyEF[] buddies, IRandom random)
public double value(BoxCluster box)
ClusterAbstractvalue in interface ClusterAbstractvalue in class ClusterSumprotected void calcValue()
calcValue in class ClusterSumpublic void revertDiagram()
public void randomizeDiagram()
public void setDiagram(int i)
protected static MayerFunction[] chopF(MayerFunction[] feArray)