Struct simulation::SimulationConfig
[−]
[src]
pub struct SimulationConfig { pub uavs: Vec<UavConfig>, pub animals: Vec<AnimalConfig>, pub map_size: [f32; 2], pub num_particles: usize, pub particle_noise: f32, }
Configuration options for a simulation
Fields
uavs: Vec<UavConfig>
The list of UAVs to simulate
animals: Vec<AnimalConfig>
The list of animals to simulate
map_size: [f32; 2]
The initial size of the map
num_particles: usize
The number of particles to use in the particle filter
particle_noise: f32
The amount of noise to use in the particle filter
Trait Implementations
impl Clone for SimulationConfig
[src]
fn clone(&self) -> SimulationConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for SimulationConfig
[src]
fn default() -> SimulationConfig
Returns the "default value" for a type. Read more