Enum Class WeightedFeature

java.lang.Object
java.lang.Enum<WeightedFeature>
net.demilich.metastone.game.behaviour.heuristic.WeightedFeature
All Implemented Interfaces:
Serializable, Comparable<WeightedFeature>, Constable

public enum WeightedFeature extends Enum<WeightedFeature>
The coefficients in a linear combination of features used by ThreatBasedHeuristic to calculate a score for a game state.
  • Enum Constant Details

    • RED_MODIFIER

      public static final WeightedFeature RED_MODIFIER
    • YELLOW_MODIFIER

      public static final WeightedFeature YELLOW_MODIFIER
    • OWN_HP_FACTOR

      public static final WeightedFeature OWN_HP_FACTOR
    • OPPONENT_HP_FACTOR

      public static final WeightedFeature OPPONENT_HP_FACTOR
    • OWN_CARD_COUNT

      public static final WeightedFeature OWN_CARD_COUNT
    • OPPONENT_CARD_COUNT

      public static final WeightedFeature OPPONENT_CARD_COUNT
    • MINION_INTRINSIC_VALUE

      public static final WeightedFeature MINION_INTRINSIC_VALUE
    • MINION_ATTACK_FACTOR

      public static final WeightedFeature MINION_ATTACK_FACTOR
    • MINION_HP_FACTOR

      public static final WeightedFeature MINION_HP_FACTOR
    • MINION_RED_TAUNT_MODIFIER

      public static final WeightedFeature MINION_RED_TAUNT_MODIFIER
    • MINION_YELLOW_TAUNT_MODIFIER

      public static final WeightedFeature MINION_YELLOW_TAUNT_MODIFIER
    • MINION_DEFAULT_TAUNT_MODIFIER

      public static final WeightedFeature MINION_DEFAULT_TAUNT_MODIFIER
    • MINION_WINDFURY_MODIFIER

      public static final WeightedFeature MINION_WINDFURY_MODIFIER
    • MINION_DIVINE_SHIELD_MODIFIER

      public static final WeightedFeature MINION_DIVINE_SHIELD_MODIFIER
    • MINION_SPELL_POWER_MODIFIER

      public static final WeightedFeature MINION_SPELL_POWER_MODIFIER
    • MINION_STEALTHED_MODIFIER

      public static final WeightedFeature MINION_STEALTHED_MODIFIER
    • MINION_UNTARGETABLE_BY_SPELLS_MODIFIER

      public static final WeightedFeature MINION_UNTARGETABLE_BY_SPELLS_MODIFIER
    • CURSED_FACTOR

      public static final WeightedFeature CURSED_FACTOR
    • HARD_REMOVAL_VALUE

      public static final WeightedFeature HARD_REMOVAL_VALUE
    • QUEST_COUNTER_VALUE

      public static final WeightedFeature QUEST_COUNTER_VALUE
    • EMPTY_MANA_CRYSTAL_VALUE

      public static final WeightedFeature EMPTY_MANA_CRYSTAL_VALUE
    • OPPOSING_EMPTY_MANA_CRYSTAL_VALUE

      public static final WeightedFeature OPPOSING_EMPTY_MANA_CRYSTAL_VALUE
    • QUEST_REWARD_VALUE

      public static final WeightedFeature QUEST_REWARD_VALUE
    • OWN_ROASTED_VALUE

      public static final WeightedFeature OWN_ROASTED_VALUE
    • OPPONENT_ROASTED_VALUE

      public static final WeightedFeature OPPONENT_ROASTED_VALUE
  • Method Details

    • values

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