pub struct EvolutionConfigBuilder<C, O, S, K> where
    C: 'static + HeuristicContext<Objective = O, Solution = S> + Stateful<Key = K>,
    O: 'static + HeuristicObjective<Solution = S>,
    S: 'static + HeuristicSolution,
    K: 'static + Hash + Eq + Clone + Send + Sync
{ /* private fields */ }
Expand description

Provides configurable way to build evolution configuration using fluent interface style.

Implementations

Sets max generations to be run by evolution. Default is 3000.

Sets max running time limit for evolution. Default is 300 seconds.

Sets variation coefficient termination criteria. Default is None.

Sets target fitness and distance threshold as termination criteria.

Sets initial parameters used to construct initial population.

Specifies processing configuration.

Sets initial solutions in population. Default is no solutions in population.

Sets objective.

Sets heuristic context.

Sets termination.

Sets a different heuristic replacing initial.

Sets a different heuristic replacing initial.

Sets heuristic operators.

Sets heuristic group.

Builds the evolution config.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.