Trait Searchable
oasis_game_core
pub trait Searchable<S: Default + Clone> { fn evaluate(&self) -> Score; fn enumerate_moves(&self, player_id: u16) -> Vec<Action>; fn update_state(&mut self, action: Option<Action>); fn reset(&mut self, new_state: UserState<S>); fn peek(&self) -> &UserState<S>; }
fn evaluate(&self) -> Score
fn enumerate_moves(&self, player_id: u16) -> Vec<Action>
fn update_state(&mut self, action: Option<Action>)
fn reset(&mut self, new_state: UserState<S>)
fn peek(&self) -> &UserState<S>