Class: Contest::AI::EffectTagHeuristicBase::PreventJam
- Inherits:
-
EffectTagHeuristicBase
- Object
- EffectTagHeuristicBase
- Contest::AI::EffectTagHeuristicBase::PreventJam
- Defined in:
- docs/6_Contest_30_AI_1_Effect_Tag_Heuristics.rb
Overview
Heuristic for the effect tags :prevent_jam_one_turn and :prevent_jam_one_time This heuristic gets boosted the earlier the user plays in the round
Direct Known Subclasses
Instance Method Summary collapse
-
#compute(user, ai, _move) ⇒ Float
Compute the heuristic modifier.
Instance Method Details
#compute(user, ai, _move) ⇒ Float
Compute the heuristic modifier
160 161 |
# File 'docs/6_Contest_30_AI_1_Effect_Tag_Heuristics.rb', line 160 def compute(user, ai, _move) end |