ClusterAbstract, ClusterWheatleyClusterICPYC, ClusterPY, ClusterWheatleyHS.AllSigspublic class ClusterWheatleyHS extends java.lang.Object implements ClusterWheatley
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ClusterWheatleyHS.AllSigs |
| Modifier and Type | Field | Description |
|---|---|---|
protected double |
beta |
|
protected int |
cliqueCount |
|
protected int[] |
cliqueList |
|
protected boolean[] |
cliqueSet |
|
protected long |
cPairID |
|
protected int |
eCliqueCount |
|
protected int[] |
eCliqueList |
|
protected int |
edgeCount |
|
protected MayerFunction |
f |
|
protected double[] |
fA |
|
protected double[] |
fB |
|
protected double[] |
fC |
|
protected double[] |
fQ |
|
protected int[] |
fullBondMask |
|
protected long |
lastCPairID |
|
protected double |
lastValue |
|
protected int |
n |
|
protected long |
notzero |
|
protected byte[] |
outDegree |
|
protected boolean |
precalcQ |
|
protected long |
screened |
|
protected long |
total |
|
protected double |
value |
| Constructor | Description |
|---|---|
ClusterWheatleyHS(int nPoints,
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.
|
protected void |
calcValue(BoxCluster box,
boolean doCheck) |
|
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.
|
protected final int n
protected final MayerFunction f
protected final double[] fQ
protected final double[] fC
protected final double[] fA
protected final double[] fB
protected long cPairID
protected long lastCPairID
protected double value
protected double lastValue
protected double beta
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 long total
protected long notzero
protected long screened
protected int edgeCount
public ClusterWheatleyHS(int nPoints,
MayerFunction f)
public ClusterAbstract makeCopy()
ClusterAbstractmakeCopy in interface ClusterAbstractpublic int pointCount()
ClusterAbstractpointCount in interface ClusterAbstractpublic double value(BoxCluster box)
ClusterAbstractvalue in interface ClusterAbstractprotected 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 ClusterWheatleyprotected void calcValue(BoxCluster box, boolean doCheck)
public 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)
public void setTemperature(double temperature)
setTemperature in interface ClusterAbstract