Paradiseo-eo sources added

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
legrand 2006-12-12 14:49:08 +00:00
commit c3aec878e5
387 changed files with 342772 additions and 0 deletions

View file

@ -0,0 +1,40 @@
.TH "BiasedNodeSelector" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
BiasedNodeSelector \- A node selector that does a specified number of rounds ignoring terminals.
.PP
.SH SYNOPSIS
.br
.PP
\fC#include <NodeSelector.h>\fP
.PP
Inherits \fBNodeSelector\fP.
.PP
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "\fBBiasedNodeSelector\fP (unsigned n)"
.br
.ti -1c
.RI "NodeSelection \fBselect_node\fP (Sym sym) const "
.br
.in -1c
.SS "Public Attributes"
.in +1c
.ti -1c
.RI "unsigned \fBnRounds\fP"
.br
.in -1c
.SH "Detailed Description"
.PP
A node selector that does a specified number of rounds ignoring terminals.
.PP
Definition at line 55 of file NodeSelector.h.
.SH "Author"
.PP
Generated automatically by Doxygen for EO from the source code.

View file

@ -0,0 +1,64 @@
.TH "Bitstring" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Bitstring \- Various functions for a bitstring representation.
.PP
.SS "Classes"
.in +1c
.ti -1c
.RI "class \fBeoBit< FitT >\fP"
.br
.RI "\fIImplementation of bitstring chromosome. \fP"
.ti -1c
.RI "class \fBeoBit< FitT >\fP"
.br
.RI "\fIImplementation of bitstring chromosome. \fP"
.ti -1c
.RI "class \fBeoBitBitFlip\fP"
.br
.RI "\fIeoBitFlip --> changes 1 bit \fP"
.ti -1c
.RI "class \fBeoDetBitFlip< Chrom >\fP"
.br
.RI "\fIeoDetBitFlip --> changes exactly k bits \fP"
.ti -1c
.RI "class \fBeoBitMutation< Chrom >\fP"
.br
.RI "\fIeoBitMutation --> classical mutation \fP"
.ti -1c
.RI "class \fBeoBitInversion< Chrom >\fP"
.br
.RI "\fIeoBitInversion: inverts the bits of the chromosome between an interval \fP"
.ti -1c
.RI "class \fBeoBitNext< Chrom >\fP"
.br
.RI "\fIeoBitNext --> next value when bitstring considered as binary value \fP"
.ti -1c
.RI "class \fBeoBitPrev< Chrom >\fP"
.br
.RI "\fIeoBitPrev --> previous value when bitstring treated as binary value \fP"
.ti -1c
.RI "class \fBeo1PtBitCrossover\fP"
.br
.RI "\fIeo1PtBitXover --> classic 1-point crossover \fP"
.ti -1c
.RI "class \fBeoUBitXover< Chrom >\fP"
.br
.RI "\fIeoUBitXover --> classic Uniform crossover \fP"
.ti -1c
.RI "class \fBeoNPtsBitXover< Chrom >\fP"
.br
.RI "\fIeoNPtsBitXover --> n-point crossover \fP"
.ti -1c
.RI "class \fBeoBitGxOver< Chrom >\fP"
.br
.RI "\fIeoBitGxOver --> Npts crossover when bistd::string considered as a std::string of binary-encoded genes (exchanges genes) Is anybody still using it apart from historians ??? :-) \fP"
.in -1c
.SH "Detailed Description"
.PP
Various functions for a bitstring representation.
.PP

View file

@ -0,0 +1,53 @@
.TH "Cov" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Cov \- Single covariance between two variates.
.PP
.SH SYNOPSIS
.br
.PP
\fC#include <stats.h>\fP
.PP
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "void \fBupdate\fP (double a, double b)"
.br
.ti -1c
.RI "double \fBget_meana\fP () const "
.br
.ti -1c
.RI "double \fBget_meanb\fP () const "
.br
.ti -1c
.RI "double \fBget_cov\fP () const "
.br
.in -1c
.SS "Private Attributes"
.in +1c
.ti -1c
.RI "double \fBn\fP"
.br
.ti -1c
.RI "double \fBmeana\fP"
.br
.ti -1c
.RI "double \fBmeanb\fP"
.br
.ti -1c
.RI "double \fBsumcov\fP"
.br
.in -1c
.SH "Detailed Description"
.PP
Single covariance between two variates.
.PP
Definition at line 58 of file stats.h.
.SH "Author"
.PP
Generated automatically by Doxygen for EO from the source code.

View file

@ -0,0 +1,150 @@
.TH "Dummy" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Dummy \- test program for the general operator - millenium version! uses dummy individuals
.PP
.SH SYNOPSIS
.br
.PP
Inherits \fBEO< double >\fP, \fBEO< double >\fP, \fBEO< double >\fP, \fBEO< double >\fP, \fBEO< double >\fP, and \fBEO< double >\fP.
.PP
.SS "Public Types"
.in +1c
.ti -1c
.RI "typedef double \fBType\fP"
.br
.ti -1c
.RI "typedef double \fBType\fP"
.br
.ti -1c
.RI "typedef double \fBType\fP"
.br
.ti -1c
.RI "typedef double \fBType\fP"
.br
.ti -1c
.RI "typedef double \fBType\fP"
.br
.ti -1c
.RI "typedef double \fBType\fP"
.br
.in -1c
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "\fBDummy\fP (std::string _s='')"
.br
.ti -1c
.RI "void \fBprintOn\fP (std::ostream &_os) const "
.br
.RI "\fIWrite object. \fP"
.ti -1c
.RI "void \fBprintOn\fP (std::ostream &_os) const "
.br
.RI "\fIWrite object. \fP"
.ti -1c
.RI "void \fBprintOn\fP (std::ostream &_os) const "
.br
.RI "\fIWrite object. \fP"
.ti -1c
.RI "void \fBprintOn\fP (std::ostream &_os) const "
.br
.RI "\fIWrite object. \fP"
.in -1c
.SS "Public Attributes"
.in +1c
.ti -1c
.RI "std::string \fBs\fP"
.br
.ti -1c
.RI "double \fBxdist\fP"
.br
.in -1c
.SH "Detailed Description"
.PP
test program for the general operator - millenium version! uses dummy individuals
.PP
Definition at line 27 of file t-eoCheckpointing.cpp.
.SH "Member Function Documentation"
.PP
.SS "void Dummy::printOn (std::ostream & _os) const\fC [inline, virtual]\fP"
.PP
Write object.
.PP
Called printOn since it prints the object _on_ a stream.
.PP
\fBParameters:\fP
.RS 4
\fI_os\fP A std::ostream.
.RE
.PP
.PP
Reimplemented from \fBEO< double >\fP.
.PP
Definition at line 41 of file t-eoGenOp.cpp.
.PP
References EO< F >::printOn().
.SS "void Dummy::printOn (std::ostream & _os) const\fC [inline, virtual]\fP"
.PP
Write object.
.PP
Called printOn since it prints the object _on_ a stream.
.PP
\fBParameters:\fP
.RS 4
\fI_os\fP A std::ostream.
.RE
.PP
.PP
Reimplemented from \fBEO< double >\fP.
.PP
Definition at line 23 of file t-eoReplacement.cpp.
.PP
References EO< F >::printOn().
.SS "void Dummy::printOn (std::ostream & _os) const\fC [inline, virtual]\fP"
.PP
Write object.
.PP
Called printOn since it prints the object _on_ a stream.
.PP
\fBParameters:\fP
.RS 4
\fI_os\fP A std::ostream.
.RE
.PP
.PP
Reimplemented from \fBEO< double >\fP.
.PP
Definition at line 18 of file t-eoSelect.cpp.
.PP
References EO< F >::printOn().
.SS "void Dummy::printOn (std::ostream & _os) const\fC [inline, virtual]\fP"
.PP
Write object.
.PP
Called printOn since it prints the object _on_ a stream.
.PP
\fBParameters:\fP
.RS 4
\fI_os\fP A std::ostream.
.RE
.PP
.PP
Reimplemented from \fBEO< double >\fP.
.PP
Definition at line 24 of file t-eoSharing.cpp.
.PP
References EO< F >::printOn().
.SH "Author"
.PP
Generated automatically by Doxygen for EO from the source code.

View file

@ -0,0 +1,263 @@
.TH "EO" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
EO \- EO is a base class for evolvable objects, that is, the subjects of evolution.
.PP
.SH SYNOPSIS
.br
.PP
\fC#include <EO.h>\fP
.PP
Inherits \fBeoObject\fP, and \fBeoPersistent\fP.
.PP
.SS "Public Types"
.in +1c
.ti -1c
.RI "typedef F \fBFitness\fP"
.br
.ti -1c
.RI "typedef Traits \fBfitness_traits\fP"
.br
.ti -1c
.RI "typedef Traits::storage_type \fBstorage_type\fP"
.br
.ti -1c
.RI "typedef Traits::performance_type \fBperformance_type\fP"
.br
.ti -1c
.RI "typedef Traits::worth_type \fBworth_type\fP"
.br
.in -1c
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "\fBEO\fP ()"
.br
.RI "\fIDefault constructor. \fP"
.ti -1c
.RI "virtual \fB~EO\fP ()"
.br
.RI "\fIVirtual dtor. \fP"
.ti -1c
.RI "Fitness \fBfitness\fP () const "
.br
.RI "\fIReturn fitness value. \fP"
.ti -1c
.RI "void \fBinvalidate\fP ()"
.br
.ti -1c
.RI "void \fBfitness\fP (const Fitness &_fitness)"
.br
.RI "\fISet fitness. \fP"
.ti -1c
.RI "bool \fBinvalid\fP () const "
.br
.RI "\fIReturn true If fitness value is invalid, false otherwise. \fP"
.ti -1c
.RI "bool \fBoperator<\fP (const \fBEO\fP &_eo2) const "
.br
.RI "\fIReturns true if. \fP"
.ti -1c
.RI "bool \fBoperator>\fP (const \fBEO\fP &_eo2) const "
.br
.ti -1c
.RI "void \fBfitness\fP (performance_type perf)"
.br
.ti -1c
.RI "void \fBperformance\fP (performance_type perf)"
.br
.ti -1c
.RI "performance_type \fBperformance\fP (void) const "
.br
.ti -1c
.RI "void \fBworth\fP (worth_type worth)"
.br
.ti -1c
.RI "worth_type \fBworth\fP (void) const "
.br
.ti -1c
.RI "worth_type \fBfitness\fP (void) const "
.br
.ti -1c
.RI "void \fBinvalidate\fP (void)"
.br
.ti -1c
.RI "void \fBinvalidate_worth\fP (void)"
.br
.ti -1c
.RI "bool \fBoperator<\fP (const EO< Fitness, Traits > &other) const "
.br
.ti -1c
.RI "bool \fBoperator>\fP (const EO< Fitness, Traits > &other) const "
.br
.in -1c
.PP
.RI "\fB\fP"
.br
.in +1c
.in +1c
.ti -1c
.RI "virtual std::string \fBclassName\fP () const "
.br
.RI "\fIReturn the class id. \fP"
.ti -1c
.RI "virtual void \fBreadFrom\fP (std::istream &_is)"
.br
.RI "\fIRead object.\\ Calls base class, just in case that one had something to do. \fP"
.ti -1c
.RI "virtual void \fBprintOn\fP (std::ostream &_os) const "
.br
.RI "\fIWrite object. \fP"
.in -1c
.in -1c
.SS "Private Attributes"
.in +1c
.ti -1c
.RI "Fitness \fBrepFitness\fP"
.br
.ti -1c
.RI "bool \fBinvalidFitness\fP"
.br
.ti -1c
.RI "bool \fBvalid_performance\fP"
.br
.ti -1c
.RI "bool \fBvalid_worth\fP"
.br
.ti -1c
.RI "storage_type \fBrep_fitness\fP"
.br
.in -1c
.SH "Detailed Description"
.PP
.SS "template<class F> class EO< F >"
EO is a base class for evolvable objects, that is, the subjects of evolution.
EOs have only got a fitness, which at the same time needs to be only an object with the operation less than (<) defined. Fitness says how good is the object; evolution or change of these objects is left to the genetic operators. A fitness less than another means a worse fitness, in whatever the context; thus, fitness is always maximized; although it can be minimized with a proper definition of the < operator. The fitness object must have, besides an void ctor, a copy ctor.
.PP
Definition at line 44 of file EO.h.
.SH "Constructor & Destructor Documentation"
.PP
.SS "template<class F> \fBEO\fP< F >::\fBEO\fP ()\fC [inline]\fP"
.PP
Default constructor.
.PP
Fitness must have a ctor which takes 0 as a value; we can not use void ctors here since default types like float have no void initializer. VC++ allows it, but gcc does not
.PP
Definition at line 54 of file EO.h.
.SH "Member Function Documentation"
.PP
.SS "template<class F> void \fBEO\fP< F >::fitness (const Fitness & _fitness)\fC [inline]\fP"
.PP
Set fitness.
.PP
At the same time, validates it.
.PP
\fBParameters:\fP
.RS 4
\fI_fitness\fP New fitness value.
.RE
.PP
.PP
Definition at line 72 of file EO.h.
.SS "template<class F> bool \fBEO\fP< F >::invalid () const\fC [inline]\fP"
.PP
Return true If fitness value is invalid, false otherwise.
.PP
\fBReturns:\fP
.RS 4
true If fitness is invalid.
.RE
.PP
.PP
Definition at line 81 of file EO.h.
.PP
Referenced by EO< PyFitness >::fitness(), eoOneMaxEvalFunc< EOT >::operator()(), eoOneFifthMutation< EOT >::operator()(), eoEvalFuncPtr< EOT, FitT, FunctionArg >::operator()(), eoEvalFuncCounter< EOT >::operator()(), and EO< PyFitness >::printOn().
.SS "template<class F> bool \fBEO\fP< F >::operator< (const \fBEO\fP< F > & _eo2) const\fC [inline]\fP"
.PP
Returns true if.
.PP
\fBReturns:\fP
.RS 4
true if the fitness is higher
.RE
.PP
.PP
Definition at line 86 of file EO.h.
.PP
Referenced by eoVector< FitT, bool >::operator<().
.SS "template<class F> virtual std::string \fBEO\fP< F >::className (void) const\fC [inline, virtual]\fP"
.PP
Return the class id.
.PP
\fBReturns:\fP
.RS 4
the class name as a std::string
.RE
.PP
.PP
Implements \fBeoObject\fP.
.PP
Reimplemented in \fBeoEsFull< Fit >\fP, \fBeoEsSimple< Fit >\fP, \fBeoEsStdev< Fit >\fP, \fBeoReal< FitT >\fP, \fBeoBit< FitT >\fP, \fBeoParseTree< FType, Node >\fP, \fBeoString< fitnessT >\fP, and \fBeoOneMax< FitT >\fP.
.PP
Definition at line 95 of file EO.h.
.SS "template<class F> virtual void \fBEO\fP< F >::readFrom (std::istream & _is)\fC [inline, virtual]\fP"
.PP
Read object.\\ Calls base class, just in case that one had something to do.
.PP
The read and print methods should be compatible and have the same format. In principle, format is 'plain': they just print a number
.PP
\fBParameters:\fP
.RS 4
\fI_is\fP a std::istream.
.RE
.PP
\fBExceptions:\fP
.RS 4
\fIruntime_std::exception\fP If a valid object can't be read.
.RE
.PP
.PP
Implements \fBeoPersistent\fP.
.PP
Reimplemented in \fBeoVector< FitT, GeneType >\fP, \fBeoEsFull< Fit >\fP, \fBeoEsSimple< Fit >\fP, \fBeoEsStdev< Fit >\fP, \fBeoBit< FitT >\fP, \fBeoParseTree< FType, Node >\fP, \fBeoExternalEO< Fit, External >\fP, \fBeoVector< Fit, double >\fP, \fBeoVector< FitT, double >\fP, and \fBeoVector< FitT, bool >\fP.
.PP
Definition at line 105 of file EO.h.
.PP
Referenced by eoVector< FitT, bool >::readFrom(), eoPop< Dummy >::readFrom(), eoParseTree< FType, Node >::readFrom(), eoOneMax< FitT >::readFrom(), eoExternalEO< Fit, External >::readFrom(), and eoBit< FitT >::readFrom().
.SS "template<class F> virtual void \fBEO\fP< F >::printOn (std::ostream & _os) const\fC [inline, virtual]\fP"
.PP
Write object.
.PP
Called printOn since it prints the object _on_ a stream.
.PP
\fBParameters:\fP
.RS 4
\fI_os\fP A std::ostream.
.RE
.PP
.PP
Implements \fBeoPrintable\fP.
.PP
Reimplemented in \fBeoVector< FitT, GeneType >\fP, \fBeoEsFull< Fit >\fP, \fBeoEsSimple< Fit >\fP, \fBeoEsStdev< Fit >\fP, \fBeoBit< FitT >\fP, \fBeoParseTree< FType, Node >\fP, \fBeoExternalEO< Fit, External >\fP, \fBeoString< fitnessT >\fP, \fBDummy\fP, \fBDummy\fP, \fBDummy\fP, \fBDummy\fP, \fBeoVector< Fit, double >\fP, \fBeoVector< FitT, double >\fP, and \fBeoVector< FitT, bool >\fP.
.PP
Definition at line 129 of file EO.h.
.PP
Referenced by Dummy::printOn(), eoVector< FitT, bool >::printOn(), eoString< fitnessT >::printOn(), eoParseTree< FType, Node >::printOn(), eoOneMax< FitT >::printOn(), eoExternalEO< Fit, External >::printOn(), and eoBit< FitT >::printOn().
.SH "Author"
.PP
Generated automatically by Doxygen for EO from the source code.

View file

@ -0,0 +1,41 @@
.TH "EvolutionStrategies" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
EvolutionStrategies \-
.SS "Classes"
.in +1c
.ti -1c
.RI "class \fBeoEsChromInit< EOT >\fP"
.br
.RI "\fIRandom Es-chromosome initializer (therefore derived from \fBeoInit\fP). \fP"
.ti -1c
.RI "class \fBeoEsFull< Fit >\fP"
.br
.RI "\fIThe most complex evolutionary strategy representation. \fP"
.ti -1c
.RI "class \fBeoEsMutate< EOT >\fP"
.br
.RI "\fIES-style mutation in the large. \fP"
.ti -1c
.RI "class \fBeoEsMutationInit\fP"
.br
.RI "\fIInitialize Mutation operator. \fP"
.ti -1c
.RI "class \fBeoEsSimple< Fit >\fP"
.br
.RI "\fISimple Evolution Strategy. \fP"
.ti -1c
.RI "class \fBeoEsStdev< Fit >\fP"
.br
.RI "\fIEvolutionary Strategy with a standard deviation per parameter. \fP"
.ti -1c
.RI "class \fBeoIntBounds\fP"
.br
.RI "\fIDefines bound classes for real numbers. \fP"
.ti -1c
.RI "class \fBeoRealBounds\fP"
.br
.RI "\fIDefines bound classes for real numbers. \fP"
.in -1c

View file

@ -0,0 +1,58 @@
.TH "MemPool" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
MemPool \- Pool allocator for the subtree and parse tree classes (homebrew and not compliant to ANSI allocator requirements) (c) copyright Maarten Keijzer 1999, 2000.
.PP
.SH SYNOPSIS
.br
.PP
\fC#include <node_pool.h>\fP
.PP
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "\fBMemPool\fP (unsigned int sz)"
.br
.ti -1c
.RI "void * \fBallocate\fP ()"
.br
.ti -1c
.RI "void \fBdeallocate\fP (void *b)"
.br
.in -1c
.SS "Private Member Functions"
.in +1c
.ti -1c
.RI "void \fBgrow\fP ()"
.br
.in -1c
.SS "Private Attributes"
.in +1c
.ti -1c
.RI "Chunk * \fBchunks\fP"
.br
.ti -1c
.RI "const unsigned int \fBesize\fP"
.br
.ti -1c
.RI "Link * \fBhead\fP"
.br
.in -1c
.SH "Detailed Description"
.PP
Pool allocator for the subtree and parse tree classes (homebrew and not compliant to ANSI allocator requirements) (c) copyright Maarten Keijzer 1999, 2000.
Permission to copy, use, modify, sell and distribute this software is granted provided this copyright notice appears in all copies. This software is provided 'as is' without express or implied warranty, and with no claim as to its suitability for any purpose.
.PP
Permission to modify the code and to distribute modified code is granted, provided the above notices are retained, and a notice that the code was modified is included with the above copyright notice.
.PP
Definition at line 21 of file node_pool.h.
.SH "Author"
.PP
Generated automatically by Doxygen for EO from the source code.

View file

@ -0,0 +1,28 @@
.TH "MinimizingTraits" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
MinimizingTraits \- test program for Pareto Fitness
.PP
.SH SYNOPSIS
.br
.PP
Inherits \fBeoParetoFitnessTraits\fP.
.PP
.SS "Static Public Member Functions"
.in +1c
.ti -1c
.RI "bool \fBmaximizing\fP (int)"
.br
.in -1c
.SH "Detailed Description"
.PP
test program for Pareto Fitness
.PP
Definition at line 36 of file t-eoParetoFitness.cpp.
.SH "Author"
.PP
Generated automatically by Doxygen for EO from the source code.

View file

@ -0,0 +1,30 @@
.TH "NodeSelector" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
NodeSelector \- Base class for selecting nodes.
.PP
.SH SYNOPSIS
.br
.PP
\fC#include <NodeSelector.h>\fP
.PP
Inherited by \fBBiasedNodeSelector\fP, and \fBRandomNodeSelector\fP.
.PP
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "virtual NodeSelection \fBselect_node\fP (Sym sym) const =0"
.br
.in -1c
.SH "Detailed Description"
.PP
Base class for selecting nodes.
.PP
Definition at line 24 of file NodeSelector.h.
.SH "Author"
.PP
Generated automatically by Doxygen for EO from the source code.

View file

@ -0,0 +1,8 @@
.TH "Operators" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Operators \- Genetic Operators are used for various purposes.
.PP

View file

@ -0,0 +1,75 @@
.TH "ParseTree" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
ParseTree \- Various functions for tree-based Genetic Programming.
.PP
.SS "Classes"
.in +1c
.ti -1c
.RI "class \fBeoParseTree< FType, Node >\fP"
.br
.RI "\fIImplementation of parse-tree for genetic programming. \fP"
.ti -1c
.RI "class \fBeoParseTreeDepthInit< FType, Node >\fP"
.br
.RI "\fIeoParseTreeDepthInit : the initializer class for \fBeoParseTree\fP \fP"
.ti -1c
.RI "class \fBeoSubtreeXOver< FType, Node >\fP"
.br
.RI "\fIeoSubtreeXOver --> subtree xover \fP"
.ti -1c
.RI "class \fBeoBranchMutation< FType, Node >\fP"
.br
.RI "\fIeoBranchMutation --> replace a subtree with a randomly created subtree \fP"
.ti -1c
.RI "class \fBeoPointMutation< FType, Node >\fP"
.br
.RI "\fIeoPointMutation --> replace a Node with a Node of the same arity \fP"
.ti -1c
.RI "class \fBeoExpansionMutation< FType, Node >\fP"
.br
.RI "\fIeoExpansionMutation --> replace a terminal with a randomly created subtree \fP"
.ti -1c
.RI "class \fBeoCollapseSubtreeMutation< FType, Node >\fP"
.br
.RI "\fIeoCollapseSubtree --> replace a subtree with a randomly chosen terminal \fP"
.ti -1c
.RI "class \fBeoHoistMutation< FType, Node >\fP"
.br
.RI "\fIeoHoistMutation --> replace the individual with one of its subtree's \fP"
.in -1c
.SS "Functions"
.in +1c
.ti -1c
.RI "template<class FType, class Node> void \fBeoInitRampedHalfAndHalf\fP (\fBeoPop\fP< \fBeoParseTree\fP< FType, Node > > &pop, unsigned int population_size, unsigned int init_max_depth, std::vector< Node > &initializor)"
.br
.RI "\fIA template function for ramped half and half initialization of an \fBeoParseTree\fP population. \fP"
.in -1c
.SH "Detailed Description"
.PP
Various functions for tree-based Genetic Programming.
.PP
.SH "Function Documentation"
.PP
.SS "template<class FType, class Node> void eoInitRampedHalfAndHalf (\fBeoPop\fP< \fBeoParseTree\fP< FType, Node > > & pop, unsigned int population_size, unsigned int init_max_depth, std::vector< Node > & initializor)"
.PP
A template function for ramped half and half initialization of an \fBeoParseTree\fP population.
.PP
\fBParameters:\fP
.RS 4
\fIpop\fP the population to be created
.br
\fIpopulation_size\fP the size of the population to be created
.br
\fIinit_max_depth\fP the initial maximum tree depth
.br
\fIinitializor\fP A std::vector containing the possible nodes
.RE
.PP
.PP
Definition at line 179 of file eoParseTreeDepthInit.h.

View file

@ -0,0 +1,8 @@
.TH "PropCombinedOperators" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
PropCombinedOperators \- Combination of same-type Genetic Operators - Proportional choice.
.PP

View file

@ -0,0 +1,30 @@
.TH "RandomNodeSelector" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
RandomNodeSelector \- Select nodes uniformly.
.PP
.SH SYNOPSIS
.br
.PP
\fC#include <NodeSelector.h>\fP
.PP
Inherits \fBNodeSelector\fP.
.PP
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "NodeSelection \fBselect_node\fP (Sym sym) const "
.br
.in -1c
.SH "Detailed Description"
.PP
Select nodes uniformly.
.PP
Definition at line 49 of file NodeSelector.h.
.SH "Author"
.PP
Generated automatically by Doxygen for EO from the source code.

View file

@ -0,0 +1,5 @@
.TH "Selectors" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
Selectors \-

View file

@ -0,0 +1,44 @@
.TH "StParseTree" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
StParseTree \- Various functions for strongly typed tree-based Genetic Programming.
.PP
.SS "Classes"
.in +1c
.ti -1c
.RI "class \fBeoStParseTreeDepthInit< FType, Node >\fP"
.br
.RI "\fIeoStParseTreeDepthInit : the initializer class for strongly typed tree-based genetic programming \fP"
.ti -1c
.RI "class \fBeoStSubtreeXOver< FType, Node >\fP"
.br
.RI "\fIeoStSubtreeXOver --> subtree xover for strongly typed tree-based genetic programming \fP"
.ti -1c
.RI "class \fBeoStBranchMutation< FType, Node >\fP"
.br
.RI "\fIeoStBranchMutation --> replace a strongly typed subtree with a randomly created strongly typed subtree \fP"
.ti -1c
.RI "class \fBeoStPointMutation< FType, Node >\fP"
.br
.RI "\fIeoStPointMutation --> replace a Node with a Node of the same arity and type \fP"
.ti -1c
.RI "class \fBeoStHoistMutation< FType, Node >\fP"
.br
.RI "\fIeoStHoistMutation --> replace the individual with one of its strongly typed subtree's \fP"
.in -1c
.SH "Detailed Description"
.PP
Various functions for strongly typed tree-based Genetic Programming.
.PP
The StParseTree functions use the same \fBeoParseTree\fP class for the individual but now each node class must have two additional functions.
.PD 0
.IP "\(bu" 2
int type(void) which returns the return type of the node
.IP "\(bu" 2
int type(int child) which returns the required type for child 0, 1 or 2
.PP
Pruning strongly typed trees is not possible at the moment.

View file

@ -0,0 +1,36 @@
.TH "T_pickle_suite" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
T_pickle_suite \- Implements pickle support for \fBeoPersistent\fP derivatives.
.PP
.SH SYNOPSIS
.br
.PP
\fC#include <pickle.h>\fP
.PP
.SS "Static Public Member Functions"
.in +1c
.ti -1c
.RI "std::string \fBprint_to_string\fP (const T &t)"
.br
.ti -1c
.RI "boost::python::tuple \fBgetstate\fP (const T &t)"
.br
.ti -1c
.RI "void \fBsetstate\fP (T &t, boost::python::tuple pickled)"
.br
.in -1c
.SH "Detailed Description"
.PP
.SS "template<class T> struct T_pickle_suite< T >"
Implements pickle support for \fBeoPersistent\fP derivatives.
.PP
Definition at line 32 of file pickle.h.
.SH "Author"
.PP
Generated automatically by Doxygen for EO from the source code.

View file

@ -0,0 +1,40 @@
.TH "UF_random_generator" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
UF_random_generator \- Another class \fBrandom_generator\fP that can be used in the STL random_shuffle function (see \fBeoPop::shuffle\fP): its operator() takes an unsigned argument m and must return an unsigned uniformly distributed in [0,m}.
.PP
.SH SYNOPSIS
.br
.PP
\fC#include <rnd_generators.h>\fP
.PP
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "\fBUF_random_generator\fP (\fBeoRng\fP &_rng=rng)"
.br
.ti -1c
.RI "T \fBoperator()\fP (T _t)"
.br
.in -1c
.SS "Private Attributes"
.in +1c
.ti -1c
.RI "\fBeoRng\fP & \fBrandom\fP"
.br
.in -1c
.SH "Detailed Description"
.PP
.SS "template<class T = uint32_t> class UF_random_generator< T >"
Another class \fBrandom_generator\fP that can be used in the STL random_shuffle function (see \fBeoPop::shuffle\fP): its operator() takes an unsigned argument m and must return an unsigned uniformly distributed in [0,m}.
.PP
Definition at line 121 of file rnd_generators.h.
.SH "Author"
.PP
Generated automatically by Doxygen for EO from the source code.

View file

@ -0,0 +1,53 @@
.TH "VirusBitFlip" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
VirusBitFlip \- VirusBitFlip --> changes 1 bit.
.PP
.SH SYNOPSIS
.br
.PP
\fC#include <VirusOp.h>\fP
.PP
Inherits \fBeoMonOp< eoVirus< FitT > >\fP.
.PP
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "virtual std::string \fBclassName\fP () const "
.br
.RI "\fIThe class name. \fP"
.ti -1c
.RI "bool \fBoperator()\fP (eoVirus< \fBFitT\fP > &_chrom)"
.br
.RI "\fIChange one bit. \fP"
.in -1c
.SH "Detailed Description"
.PP
.SS "template<class FitT> class VirusBitFlip< FitT >"
VirusBitFlip --> changes 1 bit.
.PP
Definition at line 40 of file VirusOp.h.
.SH "Member Function Documentation"
.PP
.SS "template<class FitT> bool \fBVirusBitFlip\fP< \fBFitT\fP >::operator() (eoVirus< \fBFitT\fP > & _chrom)\fC [inline, virtual]\fP"
.PP
Change one bit.
.PP
\fBParameters:\fP
.RS 4
\fIchrom\fP The cromosome which one bit is going to be changed.
.RE
.PP
.PP
Implements \fBeoUF< eoVirus< FitT > &, bool >\fP.
.PP
Definition at line 49 of file VirusOp.h.
.SH "Author"
.PP
Generated automatically by Doxygen for EO from the source code.

View file

@ -0,0 +1,57 @@
.TH "VirusShiftMutation" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
VirusShiftMutation \- Works for 1-bit virus; shifts the one to the right or left.
.PP
.SH SYNOPSIS
.br
.PP
\fC#include <VirusOp.h>\fP
.PP
Inherits \fBeoMonOp< eoVirus< FitT > >\fP.
.PP
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "\fBVirusShiftMutation\fP ()"
.br
.RI "\fICtor. \fP"
.ti -1c
.RI "virtual std::string \fBclassName\fP () const "
.br
.RI "\fIThe class name. \fP"
.ti -1c
.RI "bool \fBoperator()\fP (eoVirus< \fBFitT\fP > &_chrom)"
.br
.RI "\fIChange one bit. \fP"
.in -1c
.SH "Detailed Description"
.PP
.SS "template<class FitT> class VirusShiftMutation< FitT >"
Works for 1-bit virus; shifts the one to the right or left.
.PP
Definition at line 86 of file VirusOp.h.
.SH "Member Function Documentation"
.PP
.SS "template<class FitT> bool \fBVirusShiftMutation\fP< \fBFitT\fP >::operator() (eoVirus< \fBFitT\fP > & _chrom)\fC [inline, virtual]\fP"
.PP
Change one bit.
.PP
\fBParameters:\fP
.RS 4
\fIchrom\fP The cromosome which one bit is going to be changed.
.RE
.PP
.PP
Implements \fBeoUF< eoVirus< FitT > &, bool >\fP.
.PP
Definition at line 99 of file VirusOp.h.
.SH "Author"
.PP
Generated automatically by Doxygen for EO from the source code.

View file

@ -0,0 +1,18 @@
/users/dsa/marc/WWW/EO/eo.19Oct2006/app/ Directory Reference.TH "/users/dsa/marc/WWW/EO/eo.19Oct2006/app/ Directory Reference" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
/users/dsa/marc/WWW/EO/eo.19Oct2006/app/ Directory Reference \-
.SS "Directories"
.in +1c
.ti -1c
.RI "directory\fBgprop\fP"
.br
.ti -1c
.RI "directory\fBgpsymreg\fP"
.br
.ti -1c
.RI "directory\fBmastermind\fP"
.br
.in -1c

Some files were not shown because too many files have changed in this diff Show more