pub struct MaximizeTimeInRange;Expand description
Objective function to maximize time in range.
Trait Implementations§
Source§impl Clone for MaximizeTimeInRange
impl Clone for MaximizeTimeInRange
Source§fn clone(&self) -> MaximizeTimeInRange
fn clone(&self) -> MaximizeTimeInRange
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 MaximizeTimeInRange
Source§impl Debug for MaximizeTimeInRange
impl Debug for MaximizeTimeInRange
Source§impl Default for MaximizeTimeInRange
impl Default for MaximizeTimeInRange
Source§fn default() -> MaximizeTimeInRange
fn default() -> MaximizeTimeInRange
Returns the “default value” for a type. Read more
Source§impl ObjectiveFunction for MaximizeTimeInRange
impl ObjectiveFunction for MaximizeTimeInRange
Source§fn evaluate(&self, result: &SimulationResult) -> Decimal
fn evaluate(&self, result: &SimulationResult) -> Decimal
Evaluates the simulation result and returns a score.
Source§fn compare(&self, a: &SimulationResult, b: &SimulationResult) -> Ordering
fn compare(&self, a: &SimulationResult, b: &SimulationResult) -> Ordering
Compares two simulation results.
Auto Trait Implementations§
impl Freeze for MaximizeTimeInRange
impl RefUnwindSafe for MaximizeTimeInRange
impl Send for MaximizeTimeInRange
impl Sync for MaximizeTimeInRange
impl Unpin for MaximizeTimeInRange
impl UnsafeUnpin for MaximizeTimeInRange
impl UnwindSafe for MaximizeTimeInRange
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