[−][src]Struct max_tree::AiSettings
AI settings.
Fields
max_depth: usize
Maximum depth.
eps_depth: f64
Utility discount from action depth.
This is usually a small positive number (e.g. 0.000001
).
analysis: bool
Whether to run analysis.
greed_elim: bool
Eliminate unexplored actions when using greedy search.
max_mib: Option<f64>
A limit to estimated memory usage, causing the search to terminate.
This limit is only checked occationally, e.g. after breadth search, so actual memory usage before termination will exceed limit.
Implementations
impl AiSettings
[src]
pub fn new(max_depth: usize, eps_depth: f64) -> AiSettings
[src]
Creates new settings.
Auto Trait Implementations
impl RefUnwindSafe for AiSettings
impl Send for AiSettings
impl Sync for AiSettings
impl Unpin for AiSettings
impl UnwindSafe for AiSettings
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
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>,