[−][src]Enum genevo::simulation::SimResult
The result of running a step in the Simulation
.
Variants
Intermediate(State<A>)
The step was successful, but the simulation has not finished.
The State
contains the result of the last processed generation.
Final(State<A>, ProcessingTime, Duration, StopReason)
The simulation is finished, and this is the final result.
The parameters are:
- The
State
of last processed generation. - The total processing time of the simulation.
- The
StopReason
is the matching criteria why the simulation stopped.
Trait Implementations
impl<A: PartialEq> PartialEq<SimResult<A>> for SimResult<A> where
A: Algorithm,
[src]
A: Algorithm,
impl<A: Debug> Debug for SimResult<A> where
A: Algorithm,
[src]
A: Algorithm,
Auto Trait Implementations
impl<A> Send for SimResult<A> where
<A as Algorithm>::Output: Send,
<A as Algorithm>::Output: Send,
impl<A> Sync for SimResult<A> where
<A as Algorithm>::Output: Sync,
<A as Algorithm>::Output: Sync,
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,