pub struct Config {
pub steps: usize,
pub controls: usize,
pub sigma: f64,
pub min_sigma: f64,
pub evaluations: u64,
pub lambda: Option<usize>,
pub bounds: Option<Vec<(f64, f64)>>,
pub library_radius: f64,
}Expand description
Parameters of an OnlineOptimizer.
Fields§
§steps: usizeThe number of control steps in a plan, at least 1.
controls: usizeThe number of controls per step, at least 1.
sigma: f64The step size of a cold or library start.
min_sigma: f64The smallest step size a warm start begins with, so the new tail of a shifted plan can still move.
evaluations: u64Objective evaluations per replan.
lambda: Option<usize>CMA-ES population size; None for the default.
bounds: Option<Vec<(f64, f64)>>Per-control bounds (low, high), applied to every step by CMA-ES’s boundary penalty;
None is unbounded.
library_radius: f64The radius within which a library entry warm-starts a new task.
Trait Implementations§
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Forget for Config
impl Freeze for Config
impl Move for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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