pub struct Outcome<G> {
pub best: Option<Individual<G>>,
pub population: Vec<Individual<G>>,
pub stats: Stats,
pub stop: Stop,
}Expand description
The result of a single-objective run.
Fields§
§best: Option<Individual<G>>The best genome evaluated during the whole run (not only in the final population).
None only if the budget allowed no evaluation at all.
population: Vec<Individual<G>>The final population, sorted ascending by cost. Empty for single-point algorithms
that keep no population other than best.
stats: StatsThe counters at the end of the run.
stop: StopWhy the run ended.
Implementations§
Trait Implementations§
impl<G: PartialEq> StructuralPartialEq for Outcome<G>
Auto Trait Implementations§
impl<G> Forget for Outcome<G>
impl<G> Freeze for Outcome<G>
impl<G> Move for Outcome<G>
impl<G> RefUnwindSafe for Outcome<G>
impl<G> Send for Outcome<G>
impl<G> Sync for Outcome<G>
impl<G> Unpin for Outcome<G>
impl<G> UnsafeUnpin for Outcome<G>
impl<G> UnwindSafe for Outcome<G>
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