ClusterAbstract
, ClusterWheatley
public class ClusterSumHS extends ClusterSum implements ClusterWheatley
Modifier and Type | Field | Description |
---|---|---|
protected int |
cliqueCount |
|
protected int[] |
cliqueList |
|
protected boolean[] |
cliqueSet |
|
protected int |
eCliqueCount |
|
protected int[] |
eCliqueList |
|
protected int |
edgeCount |
|
protected double[] |
fA |
|
protected double[] |
fB |
|
protected double[] |
fC |
|
protected double[] |
fQ |
|
protected int[] |
fullBondMask |
|
protected int |
n |
|
protected byte[] |
outDegree |
|
protected boolean |
precalcQ |
beta, clusters, clusterWeights, cPairID, debug, doCaching, f, fOld, fullBondIndexArray, fValues, lastCPairID, lastValue, value
Constructor | Description |
---|---|
ClusterSumHS(ClusterBonds[] subClusters,
double[] subClusterWeights,
MayerFunction f) |
Modifier and Type | Method | Description |
---|---|---|
protected void |
calcFullFQ(BoxCluster box) |
This calculates all FQ values given that the entries for pairs have
already been populated.
|
double |
calcValue(BoxCluster box) |
Returns the cluster value for the given configuration.
|
boolean |
checkConfig(BoxCluster box) |
Determines whether the configuration is zero-valued or not.
|
protected boolean |
cliqueCheck(int clique,
int nfm1) |
Checks to see if the set |clique| is a clique separator.
|
int |
getCliqueCount() |
Returns number of cliques for the configuration passed to
checkConfig
|
int[] |
getCliques() |
Returns an array containing the clique sets for the configuration passed
to checkConfig.
|
int |
getECliqueCount() |
Returns number of e-bond cliques for the configuration passed to
checkConfig
|
int[] |
getECliques() |
Returns an array containing the clique sets (based on e-bonds) for the
configuration passed to checkConfig.
|
int |
getEdgeCount() |
Returns edgeCount (number of overlaps) of configuration passed to
checkConfig
|
int[] |
getFullBondMask() |
Returns number bond mask for all points for the configuration passed to
checkConfig
|
byte[] |
getOutDegree() |
Returns outDegee (number of bonds for each point) of the configuration
passed to checkConfig
|
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.
|
calcValue, getClusters, getFValues, getTemperature, getWeights, setCaching
protected final int n
protected final double[] fQ
protected final double[] fC
protected final double[] fA
protected final double[] fB
protected final byte[] outDegree
protected final int[] fullBondMask
protected final boolean[] cliqueSet
protected int cliqueCount
protected int eCliqueCount
protected boolean precalcQ
protected final int[] cliqueList
protected final int[] eCliqueList
protected int edgeCount
public ClusterSumHS(ClusterBonds[] subClusters, double[] subClusterWeights, MayerFunction f)
public ClusterAbstract makeCopy()
ClusterAbstract
makeCopy
in interface ClusterAbstract
makeCopy
in class ClusterSum
public int pointCount()
ClusterAbstract
pointCount
in interface ClusterAbstract
pointCount
in class ClusterSum
public double value(BoxCluster box)
ClusterAbstract
value
in interface ClusterAbstract
value
in class ClusterSum
protected void calcFullFQ(BoxCluster box)
public boolean checkConfig(BoxCluster box)
ClusterWheatley
checkConfig
in interface ClusterWheatley
protected boolean cliqueCheck(int clique, int nfm1)
public double calcValue(BoxCluster box)
calcValue
in interface ClusterWheatley
public int getEdgeCount()
getEdgeCount
in interface ClusterWheatley
public int getCliqueCount()
ClusterWheatley
getCliqueCount
in interface ClusterWheatley
public int getECliqueCount()
ClusterWheatley
getECliqueCount
in interface ClusterWheatley
public int[] getFullBondMask()
ClusterWheatley
getFullBondMask
in interface ClusterWheatley
public int[] getCliques()
ClusterWheatley
getCliques
in interface ClusterWheatley
public int[] getECliques()
ClusterWheatley
getECliques
in interface ClusterWheatley
public byte[] getOutDegree()
getOutDegree
in interface ClusterWheatley
protected void updateF(BoxCluster box)
updateF
in class ClusterSum
public void setTemperature(double temperature)
setTemperature
in interface ClusterAbstract
setTemperature
in class ClusterSum
temperature
- The temperature to set.