Class: Contest::AI::EffectTagHeuristicBase::AdvancedPreventJam

Inherits:
PreventJam
  • Object
show all
Defined in:
docs/6_Contest_30_AI_1_Effect_Tag_Heuristics.rb

Overview

More advanced version of the PreventJam heuristic This heuristic also considers next contestants that used jam moves before

Instance Method Summary collapse

Instance Method Details

#compute(user, ai, _move) ⇒ Float

Compute the heuristic modifier

Parameters:

Returns:

  • (Float)


171
172
# File 'docs/6_Contest_30_AI_1_Effect_Tag_Heuristics.rb', line 171

def compute(user, ai, _move)
end