Struct gyges_engine::search::SearchData
source · pub struct SearchData {
pub best_move: RootMove,
pub start_time: Instant,
pub search_time: f64,
pub nodes: usize,
pub average_branching_factor: f64,
pub nps: usize,
pub beta_cuts: usize,
pub ply: i8,
pub game_over: bool,
pub winner: usize,
}Expand description
Structure that holds all of the informaion about a specific search ply.
Fields§
§best_move: RootMove§start_time: Instant§search_time: f64§nodes: usize§average_branching_factor: f64§nps: usize§beta_cuts: usize§ply: i8§game_over: bool§winner: usizeImplementations§
source§impl SearchData
impl SearchData
pub fn new(ply: i8) -> SearchData
Trait Implementations§
source§impl Clone for SearchData
impl Clone for SearchData
source§fn clone(&self) -> SearchData
fn clone(&self) -> SearchData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SearchData
impl RefUnwindSafe for SearchData
impl Send for SearchData
impl Sync for SearchData
impl Unpin for SearchData
impl UnwindSafe for SearchData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)