pub struct PlannerConfig {
pub max_candidate_ratio: f32,
pub max_candidates: u32,
}Expand description
Configuration for candidate planning / bailout.
Fields§
§max_candidate_ratio: f32If an upper bound on candidates exceeds this ratio of the corpus, bail out.
Note: we estimate using (\sum_t df(t)), which is an upper bound (can exceed N).
max_candidates: u32If an upper bound on candidates exceeds this absolute count, bail out.
Trait Implementations§
Source§impl Clone for PlannerConfig
impl Clone for PlannerConfig
Source§fn clone(&self) -> PlannerConfig
fn clone(&self) -> PlannerConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlannerConfig
Source§impl Debug for PlannerConfig
impl Debug for PlannerConfig
Auto Trait Implementations§
impl Freeze for PlannerConfig
impl RefUnwindSafe for PlannerConfig
impl Send for PlannerConfig
impl Sync for PlannerConfig
impl Unpin for PlannerConfig
impl UnsafeUnpin for PlannerConfig
impl UnwindSafe for PlannerConfig
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