Ultra 0.9.4
Loading...
Searching...
No Matches
ultra::recombination::de Class Reference

#include <evolution_recombination.h>

Public Member Functions

 de (const problem &prob)
template<Individual I>
I operator() (const selection::de::selected_refs< I > &) const

Detailed Description

This is based on the differential evolution four members crossover.

Member Function Documentation

◆ operator()()

template<Individual I>
I ultra::recombination::de::operator() ( const selection::de::selected_refs< I > & engaged) const
nodiscard

This is strictly based on the DE crossover operator.

Parameters
[in]engageda vector of ordered individuals (parent1, parent2/base, random1, random2)
Returns
the offspring / trial vector

Used parameters: evolution.p_cross, de.weight.


The documentation for this class was generated from the following file: