[−][src]Struct pleco::tools::tt::Entry
Structure defining a singular Entry in a table, containing the BestMove
found,
the score of that node, the type of Node, depth found, as well as a key uniquely defining
the node.
Fields
partial_key: u16
best_move: BitMove
score: i16
eval: i16
depth: i8
time_node_bound: NodeTypeTimeBound
Methods
impl Entry
[src]
pub fn is_empty(&self) -> bool
[src]
pub fn place(
&mut self,
key: Key,
best_move: BitMove,
score: i16,
eval: i16,
depth: i16,
node_type: NodeBound,
gen: u8
)
[src]
&mut self,
key: Key,
best_move: BitMove,
score: i16,
eval: i16,
depth: i16,
node_type: NodeBound,
gen: u8
)
Rewrites over an Entry.
pub fn time(&self) -> u8
[src]
Returns the current search time of the node.
pub fn node_type(&self) -> NodeBound
[src]
Returns the [NodeType] of an Entry.
pub fn time_value(&self, curr_time: u8) -> i16
[src]
Returns the value of the node in respect to the depth searched && when it was placed into the TranspositionTable.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,