ClusterAbstract
public class ClusterWheatleyExtendSW extends java.lang.Object implements ClusterAbstract
Modifier and Type | Field | Description |
---|---|---|
protected double |
beta |
|
protected int |
cliqueCountE2 |
|
protected int |
cliqueCountEF |
|
protected int |
cliqueCountF1 |
|
protected int |
cliqueCountNone |
|
protected int[] |
cliqueListE2 |
|
protected int[] |
cliqueListEF |
|
protected int[] |
cliqueListF1 |
|
protected int[] |
cliqueListNone |
|
protected boolean[] |
cliqueSetE2 |
|
protected boolean[] |
cliqueSetEF |
|
protected boolean[] |
cliqueSetF1 |
|
protected boolean[] |
cliqueSetNone |
|
protected MayerFunction |
e2 |
|
protected int |
edgeCountCore |
|
protected int |
edgeCountWell |
|
protected MayerFunction |
f1 |
|
protected double[][] |
fA |
|
protected double[][] |
fB |
|
protected double[][] |
fC |
|
protected double[][] |
fQ |
|
protected double[] |
fQQ |
|
protected Graph |
g |
|
protected IsBiconnected |
isB |
|
protected int |
n |
|
protected int |
nf |
|
protected int |
npairs |
|
protected int[] |
outDegreeCore |
|
protected int[] |
outDegreeWell |
Constructor | Description |
---|---|
ClusterWheatleyExtendSW(int nPoints,
MayerFunction f1,
MayerFunction e2) |
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) |
|
int |
getCoreEdgeCount() |
|
int |
getE2CliqueCount() |
|
int[] |
getE2Cliques() |
|
int |
getEFCliqueCount() |
|
int[] |
getEFCliques() |
|
int |
getF1CliqueCount() |
|
int[] |
getF1Cliques() |
|
int |
getNoneCliqueCount() |
|
int[] |
getNoneCliques() |
|
int[] |
getOutDegreeCore() |
|
int[] |
getOutDegreeWell() |
|
int |
getWellEdgeCount() |
|
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.
|
double[] |
valueArray(BoxCluster box) |
protected final int n
protected final int nf
protected final int npairs
protected final MayerFunction f1
protected final MayerFunction e2
protected final double[][] fQ
protected final double[] fQQ
protected final double[][] fC
protected final double[][] fA
protected final double[][] fB
protected double beta
protected IsBiconnected isB
protected Graph g
protected int edgeCountCore
protected int edgeCountWell
protected final int[] outDegreeCore
protected final int[] outDegreeWell
protected int cliqueCountF1
protected int cliqueCountE2
protected int cliqueCountEF
protected int cliqueCountNone
protected final boolean[] cliqueSetF1
protected final boolean[] cliqueSetE2
protected final boolean[] cliqueSetEF
protected final boolean[] cliqueSetNone
protected final int[] cliqueListF1
protected final int[] cliqueListE2
protected final int[] cliqueListEF
protected final int[] cliqueListNone
public ClusterWheatleyExtendSW(int nPoints, MayerFunction f1, MayerFunction e2)
public ClusterAbstract makeCopy()
ClusterAbstract
makeCopy
in interface ClusterAbstract
public int pointCount()
ClusterAbstract
pointCount
in interface ClusterAbstract
public double value(BoxCluster box)
ClusterAbstract
value
in interface ClusterAbstract
public double[] valueArray(BoxCluster box)
protected void updateF(BoxCluster box)
protected void calcFullFQ(BoxCluster box)
public double[] calcValue(BoxCluster box)
public void setTemperature(double temperature)
setTemperature
in interface ClusterAbstract
public int getCoreEdgeCount()
public int getWellEdgeCount()
public int[] getOutDegreeCore()
public int[] getOutDegreeWell()
public int getF1CliqueCount()
public int getE2CliqueCount()
public int getEFCliqueCount()
public int getNoneCliqueCount()
public int[] getF1Cliques()
public int[] getE2Cliques()
public int[] getEFCliques()
public int[] getNoneCliques()
public boolean checkConfig(BoxCluster box)