org.eclipse.palamedes.gdl.core.simulation
Interface IStrategy

All Known Implementing Classes:
AbstractStrategy, SDFS, SMonteCarlo, SMonteCarloUCT, SRandom

public interface IStrategy


Method Summary
 void dispose()
          A strategy is responsible to dispose all own references to avoid reference cycles.
 double getExpectedGoalValue()
          Returns a value for the last chosen move that should give an indicator what goal value we think we might get in the end.
 double getHeuristicValue(IGameNode node)
          Returns a value for the game node that can be used by a heuristic to evaluate the game node.
 IMove getMove(IGameNode currentNode)
           
 double getReliabilityValue()
          Returns a value for the last chosen move that should give an indicator value for the reliability of it.
 void initMatch(Match match)
           
 

Method Detail

initMatch

void initMatch(Match match)

getMove

IMove getMove(IGameNode currentNode)

getHeuristicValue

double getHeuristicValue(IGameNode node)
Returns a value for the game node that can be used by a heuristic to evaluate the game node. If no such value can be generated then -1 is the default return value.


dispose

void dispose()
A strategy is responsible to dispose all own references to avoid reference cycles.


getReliabilityValue

double getReliabilityValue()
Returns a value for the last chosen move that should give an indicator value for the reliability of it.


getExpectedGoalValue

double getExpectedGoalValue()
Returns a value for the last chosen move that should give an indicator what goal value we think we might get in the end.