pub struct SwarmStats {
pub agent_count: usize,
pub iteration: usize,
pub convergence: f64,
pub best_fitness: f64,
}Expand description
Swarm statistics
Fields§
§agent_count: usize§iteration: usize§convergence: f64§best_fitness: f64Trait Implementations§
Source§impl Clone for SwarmStats
impl Clone for SwarmStats
Source§fn clone(&self) -> SwarmStats
fn clone(&self) -> SwarmStats
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 Debug for SwarmStats
impl Debug for SwarmStats
Source§impl<'de> Deserialize<'de> for SwarmStats
impl<'de> Deserialize<'de> for SwarmStats
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SwarmStats
impl RefUnwindSafe for SwarmStats
impl Send for SwarmStats
impl Sync for SwarmStats
impl Unpin for SwarmStats
impl UnwindSafe for SwarmStats
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