ClusterAbstract
, ClusterAbstractMultivalue
public class ClusterCoupledFlippedMultivalue extends java.lang.Object implements ClusterAbstractMultivalue
Modifier and Type | Field | Description |
---|---|---|
double |
BDAccFrac |
|
protected long |
BDcount |
|
protected boolean |
countflips |
|
protected long |
cPairID |
|
boolean |
doPrint |
|
double |
FlipAccFrac |
|
protected long |
flipcount |
|
protected boolean[] |
flippedAtoms |
|
HistogramExpanding |
histe |
|
protected long |
lastCPairID |
|
protected double[] |
lastValue |
|
boolean |
lastValueBD |
|
protected double |
minFlipDistance |
|
protected int |
nDer |
|
protected IMoleculePositionDefinition |
positionDefinition |
|
protected boolean[][] |
printed |
|
protected boolean |
pushme |
|
IRandom |
random |
|
protected Space |
space |
|
protected double |
tol |
|
protected long |
totcount |
|
protected double[] |
value |
|
boolean |
valueBD |
|
protected ClusterAbstractMultivalue |
wrappedCluster |
|
protected ClusterAbstractMultivalue |
wrappedClusterBD |
Constructor | Description |
---|---|
ClusterCoupledFlippedMultivalue(ClusterAbstractMultivalue cluster,
ClusterAbstractMultivalue clusterBD,
Space space,
double minFlipDistance,
int nDer,
double tol) |
cluster must have caching disabled
configurations will be flipped when the minimum distance between any two molecules
exceeds minFlipDistance.
|
Modifier and Type | Method | Description |
---|---|---|
protected void |
flip(IMolecule flippedMolecule) |
|
double[] |
getAllLastValues(BoxCluster box) |
|
long |
getBDcount() |
|
double |
getBDfrac() |
|
long |
getBDtotcount() |
|
long |
getflipcount() |
|
double |
getflipfrac() |
|
int |
getNumValues() |
|
ClusterAbstract |
getSubCluster() |
|
long |
gettotcount() |
|
ClusterAbstract |
makeCopy() |
Returns another instance of an identical cluster (shallow copy).
|
int |
pointCount() |
Number of points in the cluster.
|
void |
setBDAccFrac(double p,
IRandom rng) |
|
void |
setTemperature(double temperature) |
|
double |
value(BoxCluster box) |
Value of this cluster for the given pairset at the specified reciprocal
temperature.
|
boolean |
valueIsBD() |
protected final ClusterAbstractMultivalue wrappedCluster
protected final ClusterAbstractMultivalue wrappedClusterBD
protected final Space space
protected final boolean[] flippedAtoms
protected final double minFlipDistance
protected final int nDer
protected final double tol
protected final boolean countflips
protected long cPairID
protected long lastCPairID
protected double[] value
protected double[] lastValue
protected IMoleculePositionDefinition positionDefinition
protected long flipcount
protected long BDcount
protected long totcount
protected boolean pushme
public HistogramExpanding histe
protected boolean[][] printed
public boolean doPrint
public IRandom random
public double BDAccFrac
public double FlipAccFrac
public boolean valueBD
public boolean lastValueBD
public ClusterCoupledFlippedMultivalue(ClusterAbstractMultivalue cluster, ClusterAbstractMultivalue clusterBD, Space space, double minFlipDistance, int nDer, double tol)
public ClusterAbstract makeCopy()
ClusterAbstract
makeCopy
in interface ClusterAbstract
public int pointCount()
ClusterAbstract
pointCount
in interface ClusterAbstract
public ClusterAbstract getSubCluster()
public void setBDAccFrac(double p, IRandom rng)
public boolean valueIsBD()
public double value(BoxCluster box)
ClusterAbstract
value
in interface ClusterAbstract
public int getNumValues()
getNumValues
in interface ClusterAbstractMultivalue
public double[] getAllLastValues(BoxCluster box)
getAllLastValues
in interface ClusterAbstractMultivalue
protected void flip(IMolecule flippedMolecule)
public void setTemperature(double temperature)
setTemperature
in interface ClusterAbstract
public long getflipcount()
public long gettotcount()
public double getflipfrac()
public long getBDcount()
public long getBDtotcount()
public double getBDfrac()