pub struct FirstFeasibleForager<S, M> { /* private fields */ }Expand description
First Feasible forager - picks the first move that results in a feasible score.
This forager evaluates moves until it finds one that produces a feasible (non-negative hard score) solution.
Implementations§
Source§impl<S, M> FirstFeasibleForager<S, M>
impl<S, M> FirstFeasibleForager<S, M>
Trait Implementations§
Source§impl<S: Clone, M: Clone> Clone for FirstFeasibleForager<S, M>
impl<S: Clone, M: Clone> Clone for FirstFeasibleForager<S, M>
Source§fn clone(&self) -> FirstFeasibleForager<S, M>
fn clone(&self) -> FirstFeasibleForager<S, M>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S, M> ConstructionForager<S, M> for FirstFeasibleForager<S, M>where
S: PlanningSolution,
M: Move<S>,
impl<S, M> ConstructionForager<S, M> for FirstFeasibleForager<S, M>where
S: PlanningSolution,
M: Move<S>,
Source§impl<S, M> Debug for FirstFeasibleForager<S, M>
impl<S, M> Debug for FirstFeasibleForager<S, M>
Auto Trait Implementations§
impl<S, M> Freeze for FirstFeasibleForager<S, M>
impl<S, M> RefUnwindSafe for FirstFeasibleForager<S, M>where
S: RefUnwindSafe,
M: RefUnwindSafe,
impl<S, M> Send for FirstFeasibleForager<S, M>
impl<S, M> Sync for FirstFeasibleForager<S, M>
impl<S, M> Unpin for FirstFeasibleForager<S, M>
impl<S, M> UnwindSafe for FirstFeasibleForager<S, M>where
S: UnwindSafe,
M: UnwindSafe,
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