Class: Battle::AI::MoveHeuristicBase::Nightmare

Inherits:
MoveHeuristicBase
  • Object
show all
Defined in:
docs/5_Battle_30_AI_1_MoveHeuristic.rb

Overview

Class describing the heuristic of the move Nightmare

Instance Method Summary collapse

Constructor Details

#initialize ⇒ Nightmare

Create a new Nightmare Heuristic



173
174
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 173

def initialize
end

Instance Method Details

#compute(move, user, target, ai) ⇒ Float

Compute the heuristic

Parameters:

Returns:

  • (Float)


181
182
# File 'docs/5_Battle_30_AI_1_MoveHeuristic.rb', line 181

def compute(move, user, target, ai)
end