ClusterAbstract, ClusterWheatleypublic class ClusterWheatleyPartitionScreening extends java.lang.Object implements ClusterWheatley
| Modifier and Type | Class | Description |
|---|---|---|
class |
ClusterWheatleyPartitionScreening.FrequencyCounter |
| Modifier and Type | Field | Description |
|---|---|---|
protected int[] |
allZero |
|
protected double |
beta |
|
protected static boolean |
checkme |
|
protected int |
cliqueCount |
|
protected int[] |
cliqueList |
|
protected boolean[] |
cliqueSet |
|
protected long |
cPairID |
|
protected boolean |
doStatistics |
|
protected int |
eCliqueCount |
|
protected int[] |
eCliqueList |
|
protected int |
edgeCount |
|
protected MayerFunction |
f |
|
protected int[] |
fA |
|
protected int[] |
fAB |
|
protected int[][][] |
fABList |
|
protected int[][] |
fABValues |
|
protected int[][][] |
fAList |
|
protected int[][] |
fAValues |
|
protected int[] |
fB |
|
protected int[] |
fC |
|
protected int[][] |
fCList |
|
protected boolean[] |
fQ |
|
protected int[] |
fullBondMask |
|
protected long |
lastCPairID |
|
protected double |
lastValue |
|
protected int |
n |
|
protected int |
nf |
|
protected long |
notzero |
|
protected int[] |
nPts |
|
protected int |
nPtsTabulated |
|
protected byte[] |
outDegree |
|
protected int[][][] |
partitionsA |
|
protected int[][] |
partitionsC |
|
protected boolean |
precalcQ |
|
protected long |
screened |
|
protected int[] |
sig |
|
ClusterWheatleyPartitionScreening.FrequencyCounter[] |
sigCounter |
|
protected long |
total |
|
protected double |
value |
|
protected int[] |
vCount |
| Constructor | Description |
|---|---|
ClusterWheatleyPartitionScreening(int nPoints,
MayerFunction f) |
|
ClusterWheatleyPartitionScreening(int nPoints,
MayerFunction f,
int nPtsTabulated) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
calcfAB(int v,
boolean useTable) |
|
protected void |
calcfAB0(boolean useTable) |
|
protected void |
calcfC(boolean useTable) |
|
protected void |
calcfQ(BoxCluster box) |
This calculates all fQ values given that the entries for pairs have
already been populated.
|
long |
calcSignature(BoxCluster box) |
|
protected void |
calcSignatures() |
Compute signatures used for lookup tables of fA, fAB, fC
|
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.
|
protected int[] |
computeAPartitions(int vs1,
int i) |
|
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.
|
long |
getCPairID() |
|
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
|
long |
getLastCPairID() |
|
double |
getLastValue() |
|
byte[] |
getOutDegree() |
Returns outDegee (number of bonds for each point) of the configuration
passed to checkConfig
|
static void |
main(java.lang.String[] args) |
|
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() |
|
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 boolean[] fQ
protected final int[] fA
protected final int[] fB
protected final int[] fAB
protected final int[] fC
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 final int[] nPts
protected final int[] vCount
protected final int[] sig
protected final int[][][] partitionsA
protected final int[][] partitionsC
protected final int[][][] fAList
protected final int[][][] fABList
protected final int[][] fCList
protected final int[] allZero
protected final int[][] fAValues
protected final int[][] fABValues
protected final int nPtsTabulated
protected static final boolean checkme
protected final boolean doStatistics
public final ClusterWheatleyPartitionScreening.FrequencyCounter[] sigCounter
protected long total
protected long notzero
protected long screened
protected int edgeCount
public ClusterWheatleyPartitionScreening(int nPoints,
MayerFunction f)
public ClusterWheatleyPartitionScreening(int nPoints,
MayerFunction f,
int nPtsTabulated)
protected int[] computeAPartitions(int vs1,
int i)
public ClusterAbstract makeCopy()
ClusterAbstractmakeCopy in interface ClusterAbstractpublic int pointCount()
ClusterAbstractpointCount in interface ClusterAbstractpublic double value(BoxCluster box)
ClusterAbstractvalue in interface ClusterAbstractpublic long getCPairID()
public long getLastCPairID()
public double getLastValue()
protected void calcfQ(BoxCluster box)
protected void calcSignatures()
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)
protected final void calcfC(boolean useTable)
protected final void calcfAB(int v,
boolean useTable)
protected final void calcfAB0(boolean useTable)
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 long calcSignature(BoxCluster box)
protected void updateF()
public void setTemperature(double temperature)
setTemperature in interface ClusterAbstractpublic static void main(java.lang.String[] args)