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

pub struct AlphaBetaPlayer {
    // some fields omitted
}

An alpha beta search player with a bounded depth. This player should only be used for 2 player games.

Methods

impl AlphaBetaPlayer

fn new(depth: u32) -> AlphaBetaPlayer

Returns a AlphaBetaPlayer that does not recurse past the given depth

Trait Implementations

impl Player for AlphaBetaPlayer

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)