#[non_exhaustive]pub enum Algorithm {
AlphaBeta,
Pvs,
Mtdf,
}Expand description
The search a Searcher runs at each depth, for one search and for every iteration of
deepening.
With the default Game::satisfices, every algorithm returns the same score; they differ
in how many positions they visit. Under satisficing, each returns a sound result, not
necessarily the same one.
Non-exhaustive: more algorithms may follow.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AlphaBeta
Fail-soft alpha-beta: see alpha_beta().
Pvs
Principal variation search: see pvs().
Mtdf
MTD(f), null-window searches that close in on the score: see mtdf().
Trait Implementations§
impl Copy for Algorithm
impl Eq for Algorithm
impl StructuralPartialEq for Algorithm
Auto Trait Implementations§
impl Forget for Algorithm
impl Freeze for Algorithm
impl Move for Algorithm
impl RefUnwindSafe for Algorithm
impl Send for Algorithm
impl Sync for Algorithm
impl Unpin for Algorithm
impl UnsafeUnpin for Algorithm
impl UnwindSafe for Algorithm
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