Enum Class TranscriptionMethod
- All Implemented Interfaces:
Serializable, Comparable<TranscriptionMethod>, Constable
Enum describing an OCP transcription method.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe trajectory is modeled as a series of cubic polynomials where the centerpoint slope is constrained.Each state is a decision variable constrained to the integrated dynamics of the previous state.States depend explicitly as a function of all previous states and all previous inputs. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic TranscriptionMethodReturns the enum constant of this class with the specified name.static TranscriptionMethod[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DIRECT_TRANSCRIPTION
Each state is a decision variable constrained to the integrated dynamics of the previous state. -
DIRECT_COLLOCATION
The trajectory is modeled as a series of cubic polynomials where the centerpoint slope is constrained. -
SINGLE_SHOOTING
States depend explicitly as a function of all previous states and all previous inputs.
-
-
Field Details
-
value
TranscriptionMethod value.
-
-
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
-