Struct mop_solvers::genetic_algorithm::spea2::Spea2 [−][src]
pub struct Spea2<'a, C, CR, MA, MU, N, S, V> { /* fields omitted */ }Methods
impl<'a, C, CR, MA, MU, N, S, V> Spea2<'a, C, CR, MA, MU, N, S, V> where
N: AddAssign + Copy + Debug + Float + Send + Sync,
V: Copy + Debug + Send + Sync, [src]
impl<'a, C, CR, MA, MU, N, S, V> Spea2<'a, C, CR, MA, MU, N, S, V> where
N: AddAssign + Copy + Debug + Float + Send + Sync,
V: Copy + Debug + Send + Sync, pub fn new(
archive_size: f64,
gap: GeneticAlgorithmParams<CR, MA, MU, S>,
mp: Mphos<'a, C, N, V>
) -> Self[src]
pub fn new(
archive_size: f64,
gap: GeneticAlgorithmParams<CR, MA, MU, S>,
mp: Mphos<'a, C, N, V>
) -> SelfTrait Implementations
impl<'a, C: Clone, CR: Clone, MA: Clone, MU: Clone, N: Clone, S: Clone, V: Clone> Clone for Spea2<'a, C, CR, MA, MU, N, S, V>[src]
impl<'a, C: Clone, CR: Clone, MA: Clone, MU: Clone, N: Clone, S: Clone, V: Clone> Clone for Spea2<'a, C, CR, MA, MU, N, S, V>fn clone(&self) -> Spea2<'a, C, CR, MA, MU, N, S, V>[src]
fn clone(&self) -> Spea2<'a, C, CR, MA, MU, N, S, V>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<'a, C: Debug, CR: Debug, MA: Debug, MU: Debug, N: Debug, S: Debug, V: Debug> Debug for Spea2<'a, C, CR, MA, MU, N, S, V>[src]
impl<'a, C: Debug, CR: Debug, MA: Debug, MU: Debug, N: Debug, S: Debug, V: Debug> Debug for Spea2<'a, C, CR, MA, MU, N, S, V>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a, C, CR, MA, MU, N, S, V> Solver<N, Mphos<'a, C, N, V>, V> for Spea2<'a, C, CR, MA, MU, N, S, V> where
C: Send + Sync,
CR: Crossover<N, V>,
MA: MatingSelection<N, V>,
MU: Mutation<C, N, V>,
N: AddAssign + Debug + Float + Send + Sync,
S: SurvivorSelection,
V: Copy + Debug + Send + Sync, [src]
impl<'a, C, CR, MA, MU, N, S, V> Solver<N, Mphos<'a, C, N, V>, V> for Spea2<'a, C, CR, MA, MU, N, S, V> where
C: Send + Sync,
CR: Crossover<N, V>,
MA: MatingSelection<N, V>,
MU: Mutation<C, N, V>,
N: AddAssign + Debug + Float + Send + Sync,
S: SurvivorSelection,
V: Copy + Debug + Send + Sync, fn best_result_objs(&self) -> &[N][src]
fn best_result_objs(&self) -> &[N]fn best_result_objs_avg(&self) -> N[src]
fn best_result_objs_avg(&self) -> Nfn do_work_after(&mut self)[src]
fn do_work_after(&mut self)Do solving work after stoping criteria verification.
fn do_work_before(&mut self)[src]
fn do_work_before(&mut self)Do solving work before stoping criteria verification.
fn into_result(self) -> Mphos<'a, C, N, V>[src]
fn into_result(self) -> Mphos<'a, C, N, V>fn initialize(&mut self)[src]
fn initialize(&mut self)fn terminate(&mut self)[src]
fn terminate(&mut self)