Struct metaheuristics_nature::AlgorithmBase [−][src]
pub struct AlgorithmBase<F: ObjFunc> { pub pop_num: usize, pub dim: usize, pub gen: u32, pub task: Task, pub best_f: f64, pub best: Array1<f64>, pub fitness: Array1<f64>, pub pool: Array2<f64>, pub func: F, // some fields omitted }
Expand description
The base class of algorithms.
Please see Algorithm
for more information.
Fields
pop_num: usize
dim: usize
gen: u32
task: Task
best_f: f64
best: Array1<f64>
fitness: Array1<f64>
pool: Array2<f64>
func: F
Implementations
Auto Trait Implementations
impl<F> RefUnwindSafe for AlgorithmBase<F> where
F: RefUnwindSafe,
impl<F> Send for AlgorithmBase<F> where
F: Send,
impl<F> Sync for AlgorithmBase<F> where
F: Sync,
impl<F> Unpin for AlgorithmBase<F> where
F: Unpin,
impl<F> UnwindSafe for AlgorithmBase<F> where
F: UnwindSafe,