Enum Class OptimizationStrategy
java.lang.Object
java.lang.Enum<OptimizationStrategy>
com.eqixiac.equinix.design.optimizer.enums.OptimizationStrategy
- All Implemented Interfaces:
Serializable, Comparable<OptimizationStrategy>, Constable
Named weightings of the optimizer's objectives, each one of the
WeightProfiles profiles. A convenience for callers that
prefer an enum to a profile name: profile() is what goes into
DesignObjectives.profile.-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThebalancedprofile.Thecost_firstprofile.Thelatency_firstprofile.Theprovider_coverage_firstprofile.Theredundancy_firstprofile. -
Method Summary
Modifier and TypeMethodDescriptionprofile()static OptimizationStrategyReturns the enum constant of this class with the specified name.static OptimizationStrategy[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BALANCED
Thebalancedprofile. -
LATENCY_FIRST
Thelatency_firstprofile. -
COST_FIRST
Thecost_firstprofile. -
REDUNDANCY_FIRST
Theredundancy_firstprofile. -
PROVIDER_COVERAGE_FIRST
Theprovider_coverage_firstprofile.
-
-
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
-
profile
- Returns:
- the
WeightProfilesname
-