Cover of Swarm Intelligence Book
Andries P Engelbrecht Fundamentals of Computational Swarm Intelligence

Evolutionary Computation Algorithms

The following classes are available (all discussions assume CIlib version 0.5, and therefor assumes the same directory structure as used in CIlib):

  • Genetic Algorithm [ Hide ]

    Find below the XML specification for a Genetic Algorithm (section 9.1).

    <simulator>
      <algorithms>
        <algorithmid="ga"class="ec.EC">
          <populationSize>
            50
          </populationSize>
          <addStoppingConditionclass="stoppingcondition.MaximumIterations"iterations="2000"/>
        </algorithm>
      </algorithms>
      <problems>
        <problemid="spherical"class="problem.FunctionMinimisationProblem">
          <functionclass="functions.continuous.Spherical"/>
        </problem>
        <problemid="rosenbrock"class="problem.FunctionMinimisationProblem">
          <functionclass="functions.continuous.Rosenbrock"/>
        </problem>
        <problemid="griewank"class="problem.FunctionMinimisationProblem">
          <functionclass="functions.continuous.Griewank"/>
        </problem>
        <problemid="hyperellipsoid"class="problem.FunctionMinimisationProblem">
          <functionclass="functions.continuous.HyperEllipsoid"/>
        </problem>
        <problemid="colville"class="problem.FunctionMinimisationProblem">
          <functionclass="functions.continuous.Colville"/>
        </problem>
        <problemid="ackley"class="problem.FunctionMinimisationProblem">
          <functionclass="functions.continuous.Ackley"/>
        </problem>
      </problems>
      <measurementsid="measurements"class="simulator.MeasurementSuite"samples="1"resolution="10">
        <addMeasurementclass="measurement.single.Fitness"/>
      </measurements>
      <simulations>
        <simulation>
          <algorithmidref="ga"/>
          <problemidref="spherical"/>
          <measurementsidref="measurements"file="data/ga-spherical.txt"/>
        </simulation>
        <simulation>
          <algorithmidref="ga"/>
          <problemidref="rosenbrock"/>
          <measurementsidref="measurements"file="data/ga-rosenbrock.txt"/>
        </simulation>
        <simulation>
          <algorithmidref="ga"/>
          <problemidref="griewank"/>
          <measurementsidref="measurements"file="data/ga-griewank.txt"/>
        </simulation>
        <simulation>
          <algorithmidref="ga"/>
          <problemidref="hyperellipsoid"/>
          <measurementsidref="measurements"file="data/ga-hyperellipsoid.txt"/>
        </simulation>
        <simulation>
          <algorithmidref="ga"/>
          <problemidref="ackley"/>
          <measurementsidref="measurements"file="data/ga-ackley.txt"/>
        </simulation>
      </simulations>
    </simulator>

    Click here to download this file.

  • Evolutionary Programming [ Show ]
  • Evolutionary Strategy [ Show ]
  • Differential Evolution [ Show ]