Struct timecat::TRANSPOSITION_TABLE
source · pub struct TRANSPOSITION_TABLE { /* private fields */ }Methods from Deref<Target = TranspositionTable>§
pub fn print_info(&self)
pub fn read( &self, key: u64, depth: Depth, ply: Ply, ) -> (Option<(Score, EntryFlag)>, Option<Move>)
pub fn read_best_move(&self, key: u64) -> Option<Move>
pub fn write( &self, key: u64, depth: Depth, ply: Ply, score: Score, flag: EntryFlag, best_move: impl Into<Option<Move>>, )
pub fn clear(&self)
pub fn clear_best_moves(&self)
pub fn get_num_overwrites(&self) -> usize
pub fn get_num_collisions(&self) -> usize
pub fn get_hash_full(&self) -> f64
pub fn reset_variables(&self)
pub fn set_size(&self, size: CacheTableSize)
pub fn reset_size(&self)
Trait Implementations§
source§impl Deref for TRANSPOSITION_TABLE
impl Deref for TRANSPOSITION_TABLE
§type Target = TranspositionTable
type Target = TranspositionTable
The resulting type after dereferencing.
source§fn deref(&self) -> &TranspositionTable
fn deref(&self) -> &TranspositionTable
Dereferences the value.
impl LazyStatic for TRANSPOSITION_TABLE
Auto Trait Implementations§
impl Freeze for TRANSPOSITION_TABLE
impl RefUnwindSafe for TRANSPOSITION_TABLE
impl Send for TRANSPOSITION_TABLE
impl Sync for TRANSPOSITION_TABLE
impl Unpin for TRANSPOSITION_TABLE
impl UnwindSafe for TRANSPOSITION_TABLE
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