Package edu.duke.cs.osprey.lute
Class LUTEPfunc
java.lang.Object
edu.duke.cs.osprey.lute.LUTEPfunc
- All Implemented Interfaces:
PartitionFunction,PartitionFunction.WithConfDB
Since LUTE energies are assumed to be correct, we don't have to deal with
minimization and bounding, so it's vastly easier to estimate partition functions.
-
Nested Class Summary
Nested classes/interfaces inherited from interface edu.duke.cs.osprey.kstar.pfunc.PartitionFunction
PartitionFunction.ConfListener, PartitionFunction.Result, PartitionFunction.Status, PartitionFunction.Values, PartitionFunction.WithConfDB, PartitionFunction.WithExternalMemory -
Field Summary
FieldsFields inherited from interface edu.duke.cs.osprey.kstar.pfunc.PartitionFunction
decimalPrecision -
Constructor Summary
ConstructorsConstructorDescriptionLUTEPfunc(LUTEConfEnergyCalculator ecalc, ConfAStarTree astar, BigInteger numConfsBeforePruning) -
Method Summary
Modifier and TypeMethodDescriptionvoidcompute(int maxNumConfs) intintvoidinit(double epsilon) Initializes the partition function for calculation.voidsetConfDB(ConfDB confDB, ConfDB.Key key) voidvoidsetReportProgress(boolean val) voidSets the stability threshold for this PartitionFunction, if supportedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.duke.cs.osprey.kstar.pfunc.PartitionFunction
compute, compute, makeResult, putTaskContexts, setInstanceIdMethods inherited from interface edu.duke.cs.osprey.kstar.pfunc.PartitionFunction.WithConfDB
setConfDB, setConfDB
-
Field Details
-
ecalc
-
-
Constructor Details
-
LUTEPfunc
public LUTEPfunc(LUTEConfEnergyCalculator ecalc, ConfAStarTree astar, BigInteger numConfsBeforePruning)
-
-
Method Details
-
setReportProgress
public void setReportProgress(boolean val) - Specified by:
setReportProgressin interfacePartitionFunction
-
setConfListener
- Specified by:
setConfListenerin interfacePartitionFunction
-
setConfDB
- Specified by:
setConfDBin interfacePartitionFunction.WithConfDB
-
init
public void init(double epsilon) Description copied from interface:PartitionFunctionInitializes the partition function for calculation.- Specified by:
initin interfacePartitionFunction- Parameters:
epsilon- The accuracy with which to estimate the partition function.
-
setStabilityThreshold
Description copied from interface:PartitionFunctionSets the stability threshold for this PartitionFunction, if supported- Specified by:
setStabilityThresholdin interfacePartitionFunction- Parameters:
val- If the partition function upper bound value falls below this threshold, the sequence is considered unstable.
-
getStatus
- Specified by:
getStatusin interfacePartitionFunction
-
getValues
- Specified by:
getValuesin interfacePartitionFunction
-
getParallelism
public int getParallelism()- Specified by:
getParallelismin interfacePartitionFunction
-
getNumConfsEvaluated
public int getNumConfsEvaluated()- Specified by:
getNumConfsEvaluatedin interfacePartitionFunction
-
compute
public void compute(int maxNumConfs) - Specified by:
computein interfacePartitionFunction
-