Algorithm-Based - Component-Based page - Programming hints - EO documentation

EO Tutorial

Welcome to EO - the Evolving Objects library. What is this tutorial good for?
Well,  the short term idea here is to help you build your own Evolutionary Algorithms using EO - while the long term idea is that you will be able to contribute to EO, and ultimately write our EAs :-)

About this tutorial

This tutorial can be used in 2 different ways: algorithm-based and component-based. However, it is strongly recommended that you take some time on the first lesson of the Algorithm-Based approach to get familiar with the basic concepts that are used throughout EO. Anyway, as of today, November 29, the Component-Based is not written yet :-)

Related documents


Colors and navigation:

You will see this diagram in quite many places, as for instance at the top of all examples - usually it will be clicable and will help you navigate among the different parts of an EO program. See the brief introduction to Evolutionary Computation for a detailed explanation.

But in the text itself, colors are important, as they will be used throughout this tutorial to clearly mark which part of the algorithm we are discussing. So please keep in mind that, whereas orange is for emphasis,

Before you start

You should of course have downloaded and installed the whole EO library (how did you get this file if not???).
So we'll assume that you are now in the Tutorial directory, and that your prompt looks something like

(myname@myhost) EOdir/Tutorial %

so you should now type in

make lesson1

and see something like

(myname@myhost) EOdir/Tutorial % make lesson1
c++ -DPACKAGE=\"eo\" -DVERSION=\"0.9.1\" -I. -I../../src -Wall -g -c FirstBitGA.cpp
c++ -Wall -g -o FirstBitGA FirstBitGA.o ../../src/libeo.a ../../src/utils/libeoutils.a
c++ -DPACKAGE=\"eo\" -DVERSION=\"0.9.1\" -I. -I../../src -Wall -g -c FirstRealGA.cpp
c++ -Wall -g -o FirstRealGA FirstRealGA.o ../../src/libeo.a ../../src/utils/libeoutils.a

and two now executable files should have appeared in the subdirectory Lesson1, namely FirstBitGA and FirstRealGA (see First lesson to know more about these two ready-to-run programs). If this doesn't work, please go back to the main EO directory and run the installation program.

You should also test that you can access the EO documentation in the menu line below: you might not need to go there immediately, but just in case you make rapid progress ... This menu bar should be on all pages of this tutorial, allowing you to navigate easily.

Last, but not least: EO is improving only  from the good will of contributors. This is also true for this tutorial: If you find anything that you think could be improved, you are welcome to e-mail me.

Enjoy!


Algorithm-Based - Component-Based - Programming hints - EO documentation

Marc Schoenauer

Last modified: Fri Nov 28 2000