pub struct RandomSpawnPolicy {
pub max_population: usize,
/* private fields */
}Expand description
Random spawn policy: create agents with random genomes (control group).
Fields§
§max_population: usizeImplementations§
Trait Implementations§
Source§impl SpawnPolicy for RandomSpawnPolicy
impl SpawnPolicy for RandomSpawnPolicy
Auto Trait Implementations§
impl Freeze for RandomSpawnPolicy
impl RefUnwindSafe for RandomSpawnPolicy
impl Send for RandomSpawnPolicy
impl Sync for RandomSpawnPolicy
impl Unpin for RandomSpawnPolicy
impl UnwindSafe for RandomSpawnPolicy
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