Package edu.duke.cs.osprey.paste
Interface PastePartitionFunction
- All Known Subinterfaces:
PastePartitionFunction.WithConfTable,PastePartitionFunction.WithExternalMemory
- All Known Implementing Classes:
PasteGradientDescentPfunc
public interface PastePartitionFunction
based on PartitionFunction.java, author: lowegard
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic classstatic enumstatic classstatic interfacestatic interface -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault voidcompute()voidcompute(int maxNumConfs, int numPDBs) intintvoidinit(ConfSearch scoreConfs, ConfSearch energyConfs, BigInteger numConfsBeforePruning, double targetEpsilon, double targetEnergy, PastePartitionFunction.Result wtResult, boolean useWindowCriterion) Initializes the partition function for calculation.default PastePartitionFunction.ResultvoidvoidsetReportProgress(boolean val) default voidsetStabilityThreshold(BigDecimal stabilityThreshold) Sets the stability threshold for this PartitionFunction, if supported
-
Field Details
-
decimalPrecision
-
-
Method Details
-
setReportProgress
void setReportProgress(boolean val) -
setConfListener
-
init
void init(ConfSearch scoreConfs, ConfSearch energyConfs, BigInteger numConfsBeforePruning, double targetEpsilon, double targetEnergy, PastePartitionFunction.Result wtResult, boolean useWindowCriterion) Initializes the partition function for calculation.- Parameters:
scoreConfs- The A* tree of conformations to enumerate (which may have been pruned)energyConfs- The A* tree of conformations to enumerate (which may have been pruned)targetEnergy- The accuracy with which to estimate the partition function.targetEpsilon- The accuracy with which to estimate the partition function.numConfsBeforePruning- The total number of conformations in the conformation space for this search, including any conformations removed by pruned tuples.useWindowCriterion- True if you want to stop calculating when the lower/upper bounds do not overlap with the WT lower/upper bounds, otherwise false (you then calculate to epsilon)
-
setStabilityThreshold
Sets the stability threshold for this PartitionFunction, if supported- Parameters:
stabilityThreshold- If the partition function upper bound value falls below this threshold, the sequence is considered unstable.
-
getStatus
PastePartitionFunction.Status getStatus() -
getEpMols
ArrayList<EnergyCalculator.EnergiedParametricMolecule> getEpMols() -
getSConfs
HashMap<Double,ConfSearch.ScoredConf> getSConfs() -
getValues
PastePartitionFunction.Values getValues() -
getParallelism
int getParallelism() -
getNumConfsEvaluated
int getNumConfsEvaluated() -
compute
void compute(int maxNumConfs, int numPDBs) -
compute
default void compute() -
makeResult
-