From 8189116ea4b5db4675e31dfd04a5687d55e29262 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Tue, 6 May 2014 14:29:37 +0100 Subject: Added javadocs, made minor changes to the comments --- .../backend/modules/es/EvolutionaryStrategy.html | 290 +++++++++++++++++++++ 1 file changed, 290 insertions(+) create mode 100644 doc/jcgp/backend/modules/es/EvolutionaryStrategy.html (limited to 'doc/jcgp/backend/modules/es/EvolutionaryStrategy.html') diff --git a/doc/jcgp/backend/modules/es/EvolutionaryStrategy.html b/doc/jcgp/backend/modules/es/EvolutionaryStrategy.html new file mode 100644 index 0000000..d18e01f --- /dev/null +++ b/doc/jcgp/backend/modules/es/EvolutionaryStrategy.html @@ -0,0 +1,290 @@ + + + + + +EvolutionaryStrategy + + + + + + + + +
+ + + + + + + +
+ + + +
+
jcgp.backend.modules.es
+

Class EvolutionaryStrategy

+
+
+ +
+
    +
  • +
    +
    Direct Known Subclasses:
    +
    MuPlusLambda, TournamentSelection
    +
    +
    +
    +
    public abstract class EvolutionaryStrategy
    +extends Module
    +
    This class specifies the characteristics of an evolutionary strategy. The evolutionary + strategy's job is to generate the next population of solutions. In JCGP this is done by modifying + the provided population object rather than creating a new one. +

    + A typical implementation of EvolutionaryStratey iterates through the chromosomes + in the population and selects the individual(s) to be promoted. It then uses + mutator.mutate() to generically mutate the promoted individual(s). Parameter-dependent + strategies can be implemented by accessing the parameters via the resources + argument. +

    + Parameters may be specified to control the implemented strategy. Any parameters + registered with registerParameters() should be displayed by the user interface, + if it is being used. See Module for more information. +

    + It is advisable to use Resources.reportln() and Resources.report() + to print any relevant information. Note that reportln() and report() are affected + by the report interval base parameter. Use Resources.println() and + Resources.print() to print information regardless of the current generation. + See Resources for more information.
    +
    +
    Author:
    +
    Eduardo Pedroni
    +
    See Also:
    +
    Module
    +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Summary

      + + + + + + + + + + +
      All Methods Instance Methods Abstract Methods 
      Modifier and TypeMethod and Description
      abstract voidevolve(Population population, + Mutator mutator) +
      Performs the selection algorithm and uses the mutator to create + the next generation of solutions.
      +
      + +
        +
      • + + +

        Methods inherited from class java.lang.Object

        +equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • +
      +
    • +
    +
  • +
+
+
+
    +
  • + +
      +
    • + + +

      Method Detail

      + + + +
        +
      • +

        evolve

        +
        public abstract void evolve(Population population,
        +                            Mutator mutator)
        +
        Performs the selection algorithm and uses the mutator to create + the next generation of solutions.
        +
        +
        Parameters:
        +
        population - the population to evolve.
        +
        mutator - the mutator with which to mutate the promoted individuals.
        +
        +
      • +
      +
    • +
    +
  • +
+
+
+ + +
+ + + + + + + +
+ + + + -- cgit v1.2.3