Package ffx.algorithms.commands
Class Anneal
java.lang.Object
ffx.utilities.FFXCommand
ffx.algorithms.cli.AlgorithmsCommand
ffx.algorithms.commands.Anneal
The Anneal script.
Usage:
ffxc Anneal [options] <filename>
Usage:
ffxc Anneal [options] <filename>
-
Field Summary
Fields inherited from class ffx.algorithms.cli.AlgorithmsCommand
activeAssembly, algorithmFunctions, algorithmListener, baseDirFields inherited from class ffx.utilities.FFXCommand
args, binding, color, help, logger, parseResult, version -
Constructor Summary
ConstructorsConstructorDescriptionAnneal()Anneal Constructor.Anneal(FFXBinding binding) Anneal Constructor.Anneal constructor that sets the command line arguments. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReclaims resources associated with all Potential objects associated with this script.Get the SimulatedAnnealing object.Returns a List of all Potential objects associated with this script.run()Execute this Command.Methods inherited from class ffx.algorithms.cli.AlgorithmsCommand
getActiveAssemblies, getActiveAssembly, getPotentialsFromAssemblies, init, saveDirFile, setBaseDir, updateTitleMethods inherited from class ffx.utilities.FFXCommand
getCommand, helpString, listCommands, setBinding
-
Constructor Details
-
Anneal
public Anneal()Anneal Constructor. -
Anneal
Anneal Constructor.- Parameters:
binding- The Binding to use.
-
Anneal
Anneal constructor that sets the command line arguments.- Parameters:
args- Command line arguments.
-
-
Method Details
-
run
Execute this Command.- Overrides:
runin classFFXCommand- Returns:
- The current FFXCommand.
-
getAnnealing
Get the SimulatedAnnealing object.- Returns:
- The SimulatedAnnealing instance.
-
getPotentials
Returns a List of all Potential objects associated with this script.- Overrides:
getPotentialsin classAlgorithmsCommand- Returns:
- All Potentials. Sometimes empty, never null.
-
destroyPotentials
public boolean destroyPotentials()Reclaims resources associated with all Potential objects associated with this script.- Overrides:
destroyPotentialsin classAlgorithmsCommand- Returns:
- If all Potentials had resources reclaimed.
-