git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
64 lines
1.8 KiB
Groff
64 lines
1.8 KiB
Groff
.TH "eoSGA" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
|
|
.ad l
|
|
.nh
|
|
.SH NAME
|
|
eoSGA \- The Simple Genetic Algorithm, following Holland and Goldberg.
|
|
|
|
.PP
|
|
.SH SYNOPSIS
|
|
.br
|
|
.PP
|
|
\fC#include <eoSGA.h>\fP
|
|
.PP
|
|
Inherits \fBeoAlgo< EOT >< EOT >\fP.
|
|
.PP
|
|
.SS "Public Member Functions"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "\fBeoSGA\fP (\fBeoSelectOne\fP< \fBEOT\fP > &_select, \fBeoQuadOp\fP< \fBEOT\fP > &_cross, float _crate, \fBeoMonOp\fP< \fBEOT\fP > &_mutate, float _mrate, \fBeoEvalFunc\fP< \fBEOT\fP > &_eval, \fBeoContinue\fP< \fBEOT\fP > &_cont)"
|
|
.br
|
|
.ti -1c
|
|
.RI "void \fBoperator()\fP (\fBeoPop\fP< \fBEOT\fP > &_pop)"
|
|
.br
|
|
.RI "\fIThe pure virtual function that needs to be implemented by the subclass. \fP"
|
|
.in -1c
|
|
.SS "Private Attributes"
|
|
|
|
.in +1c
|
|
.ti -1c
|
|
.RI "\fBeoContinue\fP< \fBEOT\fP > & \fBcont\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "\fBeoInvalidateMonOp\fP< \fBEOT\fP > \fBmutate\fP"
|
|
.br
|
|
.RI "\fI\fBeoInvalidateMonOp\fP invalidates the embedded operator \fP"
|
|
.ti -1c
|
|
.RI "float \fBmutationRate\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "\fBeoInvalidateQuadOp\fP< \fBEOT\fP > \fBcross\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "float \fBcrossoverRate\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "\fBeoSelectPerc\fP< \fBEOT\fP > \fBselect\fP"
|
|
.br
|
|
.ti -1c
|
|
.RI "\fBeoEvalFunc\fP< \fBEOT\fP > & \fBeval\fP"
|
|
.br
|
|
.in -1c
|
|
.SH "Detailed Description"
|
|
.PP
|
|
|
|
.SS "template<class EOT> class eoSGA< EOT >"
|
|
The Simple Genetic Algorithm, following Holland and Goldberg.
|
|
|
|
Needs a selector (class \fBeoSelectOne\fP) a crossover (eoQuad, i.e. a 2->2 operator) and a mutation with their respective rates, of course an evaluation function (\fBeoEvalFunc\fP) and a continuator (\fBeoContinue\fP) which gives the stopping criterion. Performs full generational replacement.
|
|
.PP
|
|
Definition at line 49 of file eoSGA.h.
|
|
|
|
.SH "Author"
|
|
.PP
|
|
Generated automatically by Doxygen for EO from the source code.
|