pub struct SearchParams {
Show 37 fields pub aspwin_delta: i16, pub aspwin_min_depth: i8, pub aspwin_max_width: i16, pub iir_min_depth: i8, pub iir_reduction_base: i8, pub iir_reduction_step: i8, pub iir_max_reduction: i8, pub razoring_min_depth: i8, pub razoring_max_depth: i8, pub razoring_depth_margin_base: i16, pub razoring_depth_margin_multiplier: i16, pub snmp_min_depth: i8, pub snmp_max_depth: i8, pub snmp_depth_margin_base: i16, pub snmp_depth_margin_multiplier: i16, pub nmp_min_depth: i8, pub nmp_min_game_phase: u8, pub nmp_margin: i16, pub nmp_depth_base: i8, pub nmp_depth_divider: i8, pub lmp_min_depth: i8, pub lmp_max_depth: i8, pub lmp_move_index_margin_base: usize, pub lmp_move_index_margin_multiplier: usize, pub lmp_max_score: i16, pub lmr_min_depth: i8, pub lmr_max_score: i16, pub lmr_min_move_index: usize, pub lmr_reduction_base: usize, pub lmr_reduction_step: usize, pub lmr_max_reduction: i8, pub lmr_pv_min_move_index: usize, pub lmr_pv_reduction_base: usize, pub lmr_pv_reduction_step: usize, pub lmr_pv_max_reduction: i8, pub q_score_pruning_treshold: i16, pub q_futility_pruning_margin: i16,
}

Fields§

§aspwin_delta: i16§aspwin_min_depth: i8§aspwin_max_width: i16§iir_min_depth: i8§iir_reduction_base: i8§iir_reduction_step: i8§iir_max_reduction: i8§razoring_min_depth: i8§razoring_max_depth: i8§razoring_depth_margin_base: i16§razoring_depth_margin_multiplier: i16§snmp_min_depth: i8§snmp_max_depth: i8§snmp_depth_margin_base: i16§snmp_depth_margin_multiplier: i16§nmp_min_depth: i8§nmp_min_game_phase: u8§nmp_margin: i16§nmp_depth_base: i8§nmp_depth_divider: i8§lmp_min_depth: i8§lmp_max_depth: i8§lmp_move_index_margin_base: usize§lmp_move_index_margin_multiplier: usize§lmp_max_score: i16§lmr_min_depth: i8§lmr_max_score: i16§lmr_min_move_index: usize§lmr_reduction_base: usize§lmr_reduction_step: usize§lmr_max_reduction: i8§lmr_pv_min_move_index: usize§lmr_pv_reduction_base: usize§lmr_pv_reduction_step: usize§lmr_pv_max_reduction: i8§q_score_pruning_treshold: i16§q_futility_pruning_margin: i16

Implementations§

source§

impl SearchParams

source

pub const aspwin_delta: i16 = 25i16

source

pub const aspwin_min_depth: i8 = 5i8

source

pub const aspwin_max_width: i16 = 400i16

source

pub const iir_min_depth: i8 = 4i8

source

pub const iir_reduction_base: i8 = 1i8

source

pub const iir_reduction_step: i8 = 99i8

source

pub const iir_max_reduction: i8 = 3i8

source

pub const razoring_min_depth: i8 = 1i8

source

pub const razoring_max_depth: i8 = 5i8

source

pub const razoring_depth_margin_base: i16 = 260i16

source

pub const razoring_depth_margin_multiplier: i16 = 260i16

source

pub const snmp_min_depth: i8 = 1i8

source

pub const snmp_max_depth: i8 = 8i8

source

pub const snmp_depth_margin_base: i16 = 135i16

source

pub const snmp_depth_margin_multiplier: i16 = 55i16

source

pub const nmp_min_depth: i8 = 2i8

source

pub const nmp_min_game_phase: u8 = 3u8

source

pub const nmp_margin: i16 = 60i16

source

pub const nmp_depth_base: i8 = 2i8

source

pub const nmp_depth_divider: i8 = 5i8

source

pub const lmp_min_depth: i8 = 1i8

source

pub const lmp_max_depth: i8 = 3i8

source

pub const lmp_move_index_margin_base: usize = 2usize

source

pub const lmp_move_index_margin_multiplier: usize = 5usize

source

pub const lmp_max_score: i16 = -55i16

source

pub const lmr_min_depth: i8 = 2i8

source

pub const lmr_max_score: i16 = 90i16

source

pub const lmr_min_move_index: usize = 2usize

source

pub const lmr_reduction_base: usize = 1usize

source

pub const lmr_reduction_step: usize = 4usize

source

pub const lmr_max_reduction: i8 = 3i8

source

pub const lmr_pv_min_move_index: usize = 2usize

source

pub const lmr_pv_reduction_base: usize = 1usize

source

pub const lmr_pv_reduction_step: usize = 8usize

source

pub const lmr_pv_max_reduction: i8 = 2i8

source

pub const q_score_pruning_treshold: i16 = 0i16

source

pub const q_futility_pruning_margin: i16 = 100i16

Trait Implementations§

source§

impl Clone for SearchParams

source§

fn clone(&self) -> SearchParams

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for SearchParams

source§

fn default() -> Self

Constructs a default instance of SearchParams with default elements.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.