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: Vec<(f64, f64)>,
pub t_max: usize,
pub progress_bar: bool,
pub parallelize: bool,
}
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: Vec<(f64, f64)>
t_max: usize
progress_bar: bool
parallelize: bool