Enum Class OptimizationStrategy

java.lang.Object
java.lang.Enum<OptimizationStrategy>
com.eqixiac.equinix.design.optimizer.enums.OptimizationStrategy
All Implemented Interfaces:
Serializable, Comparable<OptimizationStrategy>, Constable

public enum OptimizationStrategy extends Enum<OptimizationStrategy>
Pre-defined optimization strategies that set default scoring weights. Users can further customize weights via ScoringWeights.

Each constant carries a weight per scoring dimension, in the order latency, provider coverage, cost, redundancy, compliance. The engine sums the effective weights (after any ScoringWeights overrides) and renormalizes them to 1, so the values below are relative shares, not absolute multipliers.

See Also:
  • Enum Constant Details

    • BALANCED

      public static final OptimizationStrategy BALANCED
      Even-handed default: latency 0.30, provider coverage 0.25, cost 0.20, redundancy 0.15, compliance 0.10.
    • LATENCY_FIRST

      public static final OptimizationStrategy LATENCY_FIRST
      Prioritizes proximity to user sites: latency 0.50, provider coverage 0.20, cost 0.10, redundancy 0.10, compliance 0.10.
    • COST_FIRST

      public static final OptimizationStrategy COST_FIRST
      Prioritizes estimated monthly cost: latency 0.15, provider coverage 0.15, cost 0.45, redundancy 0.15, compliance 0.10.
    • REDUNDANCY_FIRST

      public static final OptimizationStrategy REDUNDANCY_FIRST
      Prioritizes geographic diversity: latency 0.20, provider coverage 0.15, cost 0.15, redundancy 0.40, compliance 0.10.
    • PROVIDER_COVERAGE_FIRST

      public static final OptimizationStrategy PROVIDER_COVERAGE_FIRST
      Prioritizes cloud/service-profile reach: latency 0.20, provider coverage 0.45, cost 0.15, redundancy 0.10, compliance 0.10.
  • Method Details

    • values

      public static OptimizationStrategy[] 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

      public static OptimizationStrategy valueOf(String name)
      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 name
      NullPointerException - if the argument is null