[−][src]Struct pleco_engine::search::Searcher
Fields
id: usize
kill: AtomicBool
searching: Arc<GuardedBool>
cond: Arc<LockLatch>
depth_completed: i16
limit: Limits
board: Board
time_man: &'static TimeManager
pawns: PawnTable
material: Material
root_moves: UnsafeCell<RootMoveList>
selected_depth: i16
last_best_move: BitMove
last_best_move_depth: i16
nodes: AtomicU64
counter_moves: CounterMoveHistory
main_history: ButterflyHistory
capture_history: CapturePieceToHistory
cont_history: ContinuationHistory
previous_score: Value
best_move: BitMove
failed_low: bool
best_move_changes: f64
previous_time_reduction: f64
Methods
impl Searcher
[src]
pub fn new(id: usize, cond: Arc<LockLatch>) -> Self
[src]
Creates a new Searcher
of an ID and condition to be released by.
pub fn clear(&mut self)
[src]
pub fn idle_loop(&mut self)
[src]
Spins in idle loop, waiting for it's condition to unlock.
pub fn eval(&mut self) -> Value
[src]
pub fn print_startup(&self)
[src]
pub fn use_stdout(&self) -> bool
[src]
pub fn root_moves(&self) -> &mut RootMoveList
[src]
Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,