Struct pso_rs::model::Config [−][src]
pub struct Config { pub dimensions: Vec<usize>, pub population_size: usize, pub neighborhood_type: NeighborhoodType, pub rho: usize, pub alpha: f64, pub c1: f64, pub c2: f64, pub lr: f64, pub bounds: (f64, f64), pub t_max: usize, }
Expand description
Configuration struct
Used to define model parameters
Fields
dimensions: Vec<usize>
population_size: usize
neighborhood_type: NeighborhoodType
rho: usize
alpha: f64
c1: f64
c2: f64
lr: f64
bounds: (f64, f64)
t_max: usize
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Config
impl UnwindSafe for Config