Package ffx.algorithms.optimize.anneal
Enum Class SimulatedAnnealing.Schedules
java.lang.Object
java.lang.Enum<SimulatedAnnealing.Schedules>
ffx.algorithms.optimize.anneal.SimulatedAnnealing.Schedules
- All Implemented Interfaces:
Serializable
,Comparable<SimulatedAnnealing.Schedules>
,Constable
- Enclosing class:
SimulatedAnnealing
Represents non-composite AnnealingSchedules known (i.e. not FlatEndAnnealSchedule).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerate
(int nWindows, double tLow, double tHigh) Creates an AnnealingSchedule corresponding to this enum and provided values.static SimulatedAnnealing.Schedules
Attempt to parse a String to a Schedules in a case-insensitive, alias-recognizing fashion.static SimulatedAnnealing.Schedules
Returns the enum constant of this class with the specified name.static SimulatedAnnealing.Schedules[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXP
-
LINEAR
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
parse
Attempt to parse a String to a Schedules in a case-insensitive, alias-recognizing fashion.- Parameters:
name
- Name of a schedule.- Returns:
- A Schedules enum.
-
generate
Creates an AnnealingSchedule corresponding to this enum and provided values.- Parameters:
nWindows
- Number of annealing windows.tLow
- Final temperature.tHigh
- Starting temperature.- Returns:
- An AnnealingSchedule.
-