pub struct EmptyGeneticAlgorithmBuilder<G, F> where
G: Genotype,
F: Fitness, { /* private fields */ }
Implementations
sourceimpl<G, F> EmptyGeneticAlgorithmBuilder<G, F> where
G: Genotype,
F: Fitness,
impl<G, F> EmptyGeneticAlgorithmBuilder<G, F> where
G: Genotype,
F: Fitness,
pub fn new() -> EmptyGeneticAlgorithmBuilder<G, F>
pub fn with_evaluation<E>(
self,
fitness_function: E
) -> GeneticAlgorithmWithEvalBuilder<G, F, E> where
E: FitnessFunction<G, F>,
Trait Implementations
sourceimpl<G: Clone, F: Clone> Clone for EmptyGeneticAlgorithmBuilder<G, F> where
G: Genotype,
F: Fitness,
impl<G: Clone, F: Clone> Clone for EmptyGeneticAlgorithmBuilder<G, F> where
G: Genotype,
F: Fitness,
sourcefn clone(&self) -> EmptyGeneticAlgorithmBuilder<G, F>
fn clone(&self) -> EmptyGeneticAlgorithmBuilder<G, F>
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> Debug for EmptyGeneticAlgorithmBuilder<G, F> where
G: Genotype,
F: Fitness,
impl<G: Debug, F: Debug> Debug for EmptyGeneticAlgorithmBuilder<G, F> where
G: Genotype,
F: Fitness,
sourceimpl<G: Default, F: Default> Default for EmptyGeneticAlgorithmBuilder<G, F> where
G: Genotype,
F: Fitness,
impl<G: Default, F: Default> Default for EmptyGeneticAlgorithmBuilder<G, F> where
G: Genotype,
F: Fitness,
sourcefn default() -> EmptyGeneticAlgorithmBuilder<G, F>
fn default() -> EmptyGeneticAlgorithmBuilder<G, F>
Returns the “default value” for a type. Read more
sourceimpl<G: PartialEq, F: PartialEq> PartialEq<EmptyGeneticAlgorithmBuilder<G, F>> for EmptyGeneticAlgorithmBuilder<G, F> where
G: Genotype,
F: Fitness,
impl<G: PartialEq, F: PartialEq> PartialEq<EmptyGeneticAlgorithmBuilder<G, F>> for EmptyGeneticAlgorithmBuilder<G, F> where
G: Genotype,
F: Fitness,
sourcefn eq(&self, other: &EmptyGeneticAlgorithmBuilder<G, F>) -> bool
fn eq(&self, other: &EmptyGeneticAlgorithmBuilder<G, F>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EmptyGeneticAlgorithmBuilder<G, F>) -> bool
fn ne(&self, other: &EmptyGeneticAlgorithmBuilder<G, F>) -> bool
This method tests for !=
.
impl<G, F> StructuralPartialEq for EmptyGeneticAlgorithmBuilder<G, F> where
G: Genotype,
F: Fitness,
Auto Trait Implementations
impl<G, F> RefUnwindSafe for EmptyGeneticAlgorithmBuilder<G, F> where
F: RefUnwindSafe,
G: RefUnwindSafe,
impl<G, F> Send for EmptyGeneticAlgorithmBuilder<G, F> where
F: Send,
impl<G, F> Sync for EmptyGeneticAlgorithmBuilder<G, F> where
F: Sync,
impl<G, F> Unpin for EmptyGeneticAlgorithmBuilder<G, F> where
F: Unpin,
G: Unpin,
impl<G, F> UnwindSafe for EmptyGeneticAlgorithmBuilder<G, F> where
F: UnwindSafe,
G: 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