#include <uct.h>

Public Member Functions | |
| SimplePlayout (Board *, uint maxPlayoutLength, uint evalAfterLength) | |
| Constructor with board initialization. | |
| playoutStatus_e | doPlayout () |
| Performs whole playout. | |
| uint | getPlayoutLength () |
| Returns playout length in moves. | |
Protected Member Functions | |
| virtual void | playOne () |
| Performs one move of one player. | |
| bool | hasWinner () |
| Wrapper around get winner from board. | |
Protected Attributes | |
| Board * | board_ |
| Board for playout. | |
| uint | playoutLength_ |
| Actual length of the playout. | |
| uint | maxPlayoutLength_ |
| Maximal length - if tresspased playout is invalid. | |
| uint | evalAfterLength_ |
| How deep perform the evaluation. | |
Performs (pseudo)random playout from position given in constructor. Playout returns playout status.
| playoutStatus_e SimplePlayout::doPlayout | ( | ) |
| void SimplePlayout::playOne | ( | ) | [protected, virtual] |
Performs one move of one player.
Implements random step play to get the move.
Reimplemented in AdvisorPlayout.
Board* SimplePlayout::board_ [protected] |
Board for playout.
uint SimplePlayout::evalAfterLength_ [protected] |
How deep perform the evaluation.
uint SimplePlayout::maxPlayoutLength_ [protected] |
Maximal length - if tresspased playout is invalid.
uint SimplePlayout::playoutLength_ [protected] |
Actual length of the playout.
1.5.7.1