Struct ggp_rs::player::McsPlayer [−] [src]

pub struct McsPlayer {
    // some fields omitted
}

A Monte Carlo search player. This player should only be used for 2 player, constant sum, turn based games.

Methods

impl McsPlayer

fn new(depth: u32, charge_count: u32) -> McsPlayer

Returns an McsPlayer that begins the random terminal state searches at depth depth

Trait Implementations

impl Player for McsPlayer

fn name(&self) -> String

fn select_move(&mut self, game: &Game) -> Move

fn out_of_time(&mut self, _: &Game) -> Move

fn meta_game(&mut self, _: &Game)

fn cutoff(&self) -> u32

fn stop(&mut self, _: &Game)