ContextMove Class Reference

Move with context. More...

#include <board.h>

List of all members.

Public Member Functions

 ContextMove (Move move, const Bitboard &bitboard)
bool applicable (const Bitboard &bitboard, int stepsLeft) const
 Checks applicability.
Move getMove () const
float getValue () const
void update (float sample)
float urgency (player_t player, int total) const
 Ucb-like urgency.

Private Attributes

Move move_
Bitboard context_
u64 mask_
float value_
int visits_


Detailed Description

Move with context.

Context defines segment of board which must be present in a position for a move to have a meaning (includes segment present for move to be applicable).


The documentation for this class was generated from the following files:

Generated on Thu Aug 6 23:29:08 2009 for akimot by  doxygen 1.5.7.1