pub struct GeneticAlgorithmBuilder<G, F, E, S, C, M, R> where
G: Genotype,
F: Fitness,
E: FitnessFunction<G, F>,
S: SelectionOp<G, F>,
C: CrossoverOp<G>,
M: MutationOp<G>,
R: ReinsertionOp<G, F>, { /* private fields */ }
Implementations
sourceimpl<G, F, E, S, C, M, R> GeneticAlgorithmBuilder<G, F, E, S, C, M, R> where
G: Genotype,
F: Fitness,
E: FitnessFunction<G, F>,
S: SelectionOp<G, F>,
C: CrossoverOp<G>,
M: MutationOp<G>,
R: ReinsertionOp<G, F>,
impl<G, F, E, S, C, M, R> GeneticAlgorithmBuilder<G, F, E, S, C, M, R> where
G: Genotype,
F: Fitness,
E: FitnessFunction<G, F>,
S: SelectionOp<G, F>,
C: CrossoverOp<G>,
M: MutationOp<G>,
R: ReinsertionOp<G, F>,
pub fn build(self) -> GeneticAlgorithm<G, F, E, S, C, M, R>
pub fn with_min_population_size(self, min_population_size: usize) -> Self
Trait Implementations
sourceimpl<G: Clone, F: Clone, E: Clone, S: Clone, C: Clone, M: Clone, R: Clone> Clone for GeneticAlgorithmBuilder<G, F, E, S, C, M, R> where
G: Genotype,
F: Fitness,
E: FitnessFunction<G, F>,
S: SelectionOp<G, F>,
C: CrossoverOp<G>,
M: MutationOp<G>,
R: ReinsertionOp<G, F>,
impl<G: Clone, F: Clone, E: Clone, S: Clone, C: Clone, M: Clone, R: Clone> Clone for GeneticAlgorithmBuilder<G, F, E, S, C, M, R> where
G: Genotype,
F: Fitness,
E: FitnessFunction<G, F>,
S: SelectionOp<G, F>,
C: CrossoverOp<G>,
M: MutationOp<G>,
R: ReinsertionOp<G, F>,
sourcefn clone(&self) -> GeneticAlgorithmBuilder<G, F, E, S, C, M, R>
fn clone(&self) -> GeneticAlgorithmBuilder<G, F, E, S, C, M, R>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<G: Debug, F: Debug, E: Debug, S: Debug, C: Debug, M: Debug, R: Debug> Debug for GeneticAlgorithmBuilder<G, F, E, S, C, M, R> where
G: Genotype,
F: Fitness,
E: FitnessFunction<G, F>,
S: SelectionOp<G, F>,
C: CrossoverOp<G>,
M: MutationOp<G>,
R: ReinsertionOp<G, F>,
impl<G: Debug, F: Debug, E: Debug, S: Debug, C: Debug, M: Debug, R: Debug> Debug for GeneticAlgorithmBuilder<G, F, E, S, C, M, R> where
G: Genotype,
F: Fitness,
E: FitnessFunction<G, F>,
S: SelectionOp<G, F>,
C: CrossoverOp<G>,
M: MutationOp<G>,
R: ReinsertionOp<G, F>,
sourceimpl<G: PartialEq, F: PartialEq, E: PartialEq, S: PartialEq, C: PartialEq, M: PartialEq, R: PartialEq> PartialEq<GeneticAlgorithmBuilder<G, F, E, S, C, M, R>> for GeneticAlgorithmBuilder<G, F, E, S, C, M, R> where
G: Genotype,
F: Fitness,
E: FitnessFunction<G, F>,
S: SelectionOp<G, F>,
C: CrossoverOp<G>,
M: MutationOp<G>,
R: ReinsertionOp<G, F>,
impl<G: PartialEq, F: PartialEq, E: PartialEq, S: PartialEq, C: PartialEq, M: PartialEq, R: PartialEq> PartialEq<GeneticAlgorithmBuilder<G, F, E, S, C, M, R>> for GeneticAlgorithmBuilder<G, F, E, S, C, M, R> where
G: Genotype,
F: Fitness,
E: FitnessFunction<G, F>,
S: SelectionOp<G, F>,
C: CrossoverOp<G>,
M: MutationOp<G>,
R: ReinsertionOp<G, F>,
sourcefn eq(&self, other: &GeneticAlgorithmBuilder<G, F, E, S, C, M, R>) -> bool
fn eq(&self, other: &GeneticAlgorithmBuilder<G, F, E, S, C, M, R>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GeneticAlgorithmBuilder<G, F, E, S, C, M, R>) -> bool
fn ne(&self, other: &GeneticAlgorithmBuilder<G, F, E, S, C, M, R>) -> bool
This method tests for !=
.
impl<G, F, E, S, C, M, R> StructuralPartialEq for GeneticAlgorithmBuilder<G, F, E, S, C, M, R> where
G: Genotype,
F: Fitness,
E: FitnessFunction<G, F>,
S: SelectionOp<G, F>,
C: CrossoverOp<G>,
M: MutationOp<G>,
R: ReinsertionOp<G, F>,
Auto Trait Implementations
impl<G, F, E, S, C, M, R> RefUnwindSafe for GeneticAlgorithmBuilder<G, F, E, S, C, M, R> where
C: RefUnwindSafe,
E: RefUnwindSafe,
F: RefUnwindSafe,
G: RefUnwindSafe,
M: RefUnwindSafe,
R: RefUnwindSafe,
S: RefUnwindSafe,
impl<G, F, E, S, C, M, R> Send for GeneticAlgorithmBuilder<G, F, E, S, C, M, R> where
C: Send,
E: Send,
F: Send,
M: Send,
R: Send,
S: Send,
impl<G, F, E, S, C, M, R> Sync for GeneticAlgorithmBuilder<G, F, E, S, C, M, R> where
C: Sync,
E: Sync,
F: Sync,
M: Sync,
R: Sync,
S: Sync,
impl<G, F, E, S, C, M, R> Unpin for GeneticAlgorithmBuilder<G, F, E, S, C, M, R> where
C: Unpin,
E: Unpin,
F: Unpin,
G: Unpin,
M: Unpin,
R: Unpin,
S: Unpin,
impl<G, F, E, S, C, M, R> UnwindSafe for GeneticAlgorithmBuilder<G, F, E, S, C, M, R> where
C: UnwindSafe,
E: UnwindSafe,
F: UnwindSafe,
G: UnwindSafe,
M: UnwindSafe,
R: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more