Did you know ... Search Documentation:
Pack logtalk -- logtalk-3.102.0/docs/apis/_sources/differential_evolution_2.rst.txt

.. index:: single: differential_evolution(Problem,RandomAlgorithm) .. _differential_evolution/2:

.. rst-class:: right

object

differential_evolution(Problem,RandomAlgorithm)

Public predicates

.. index:: run/2 .. _differential_evolution/2::run/2:

run/2 ^^^^^^^^^

Runs Differential Evolution with default options and returns the best position and fitness found.

| Compilation flags: | static

| Template: | run(BestPosition,BestFitness) | Mode and number of proofs: | run(-list(number),-number) - one


.. index:: run/3 .. _differential_evolution/2::run/3:

run/3 ^^^^^^^^^

Runs Differential Evolution with the given options and returns the best position and fitness found.

| Compilation flags: | static

| Template: | run(BestPosition,BestFitness,Options) | Mode and number of proofs: | run(-list(number),-number,+list(compound)) - one


.. index:: run/4 .. _differential_evolution/2::run/4:

run/4 ^^^^^^^^^

Runs Differential Evolution with the given options and returns the best position, best fitness, and run statistics.

| Compilation flags: | static

| Template: | run(BestPosition,BestFitness,Statistics,Options) | Mode and number of proofs: | run(-list(number),-number,-list(compound),+list(compound)) - one

| Remarks:

  • Statistics list: Contains generations(N), evaluations(E), improvements(I), final_mean_fitness(M), and final_diversity(D).

Protected predicates

(no local declarations; see entity ancestors if any)

Private predicates

(no local declarations; see entity ancestors if any)

Operators

(none)

.. seealso::

:ref:`differential_evolution(Problem) <differential_evolution/1>`, :ref:`differential_evolution_problem_protocol <differential_evolution_problem_protocol/0>`