pub struct EventStatsAtLevels { /* private fields */ }Implementations§
Source§impl EventStatsAtLevels
impl EventStatsAtLevels
Sourcepub fn total(&self) -> EventCounters
pub fn total(&self) -> EventCounters
Returns total number of events (summed over all levels).
Trait Implementations§
Source§impl Default for EventStatsAtLevels
impl Default for EventStatsAtLevels
Source§fn default() -> EventStatsAtLevels
fn default() -> EventStatsAtLevels
Returns the “default value” for a type. Read more
Source§impl Display for EventStatsAtLevels
impl Display for EventStatsAtLevels
Source§impl StatsCollector for EventStatsAtLevels
impl StatsCollector for EventStatsAtLevels
Source§fn pre(&mut self)
fn pre(&mut self)
Called by the search algorithm at the begging of each recursive call (for each position).
It enables investigating the shape of the search tree (of depth-first search process).
Visiting of each node is finished by calling one of: exact, unknown, db_cut.
Source§fn recursive(&mut self)
fn recursive(&mut self)
Called by the search algorithm just before loop that iterates over moves and recursively calls the algorithm.
Source§fn const_db_read(&mut self)
fn const_db_read(&mut self)
Called for each reading from const (end) database.
Source§fn db_skip(&mut self, _nimber: u8)
fn db_skip(&mut self, _nimber: u8)
Called when value (passed nimber) read from database (transposition table or const database) caused skipping position (usually by ETC).
Type of database can be find by checking which call, TT_read or const_db_read, directly preceded db_cut.
Source§fn db_cut(&mut self, _nimber: u8)
fn db_cut(&mut self, _nimber: u8)
Called when value (passed nimber) read from database (transposition table or const database) caused pruning.
Type of database can be find by checking which call, TT_read or const_db_read, directly preceded db_cut.
Source§fn unknown(&mut self)
fn unknown(&mut self)
Called for each position which was recursively searched, but whose nimber wasn’t established (due to pruning algorithm).
Auto Trait Implementations§
impl Freeze for EventStatsAtLevels
impl RefUnwindSafe for EventStatsAtLevels
impl Send for EventStatsAtLevels
impl Sync for EventStatsAtLevels
impl Unpin for EventStatsAtLevels
impl UnwindSafe for EventStatsAtLevels
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more