ClusterAbstract, ClusterWheatleypublic 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, setCachingprotected 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()
ClusterAbstractmakeCopy in interface ClusterAbstractmakeCopy in class ClusterSumpublic int pointCount()
ClusterAbstractpointCount in interface ClusterAbstractpointCount in class ClusterSumpublic double value(BoxCluster box)
ClusterAbstractvalue in interface ClusterAbstractvalue in class ClusterSumprotected void calcFullFQ(BoxCluster box)
public boolean checkConfig(BoxCluster box)
ClusterWheatleycheckConfig in interface ClusterWheatleyprotected boolean cliqueCheck(int clique,
int nfm1)
public double calcValue(BoxCluster box)
calcValue in interface ClusterWheatleypublic int getEdgeCount()
getEdgeCount in interface ClusterWheatleypublic int getCliqueCount()
ClusterWheatleygetCliqueCount in interface ClusterWheatleypublic int getECliqueCount()
ClusterWheatleygetECliqueCount in interface ClusterWheatleypublic int[] getFullBondMask()
ClusterWheatleygetFullBondMask in interface ClusterWheatleypublic int[] getCliques()
ClusterWheatleygetCliques in interface ClusterWheatleypublic int[] getECliques()
ClusterWheatleygetECliques in interface ClusterWheatleypublic byte[] getOutDegree()
getOutDegree in interface ClusterWheatleyprotected void updateF(BoxCluster box)
updateF in class ClusterSumpublic void setTemperature(double temperature)
setTemperature in interface ClusterAbstractsetTemperature in class ClusterSumtemperature - The temperature to set.