pub struct Optimised {
pub before: CycleLoad,
pub after: CycleLoad,
pub changes: Vec<(String, String, String)>,
pub lifts: Vec<LiftChange>,
pub runs: usize,
pub robust: Option<Robust>,
pub front: Vec<FrontPoint>,
}Expand description
A cycle made faster: the cycle before and after, the settings that changed (path, before, after) and
the number of cycles that were simulated on the way. Where the optimiser changed the cycle’s geometry, changes
has the whole new cycle as the entry “cycle.segment” (TOML, for Config::set_text), and lifts says what changed.
runs counts the search’s cycles, the sweep of OptimiseOptions::pareto among them; the bands’ are in robust.
Fields§
§before: CycleLoad§after: CycleLoad§changes: Vec<(String, String, String)>§lifts: Vec<LiftChange>§runs: usize§robust: Option<Robust>With OptimiseOptions::robust: how the result stands in the error bands.
front: Vec<FrontPoint>With OptimiseOptions::pareto: the settings run that passed every verdict and that no other one beats in cycle
time, energy and peak utilisation at once, fastest first. Empty without.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Optimised
impl RefUnwindSafe for Optimised
impl Send for Optimised
impl Sync for Optimised
impl Unpin for Optimised
impl UnsafeUnpin for Optimised
impl UnwindSafe for Optimised
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