paradiseo/trunk/paradiseo-eo/doc/man/man3/eoTruncSelect.3
legrand c3aec878e5 Paradiseo-eo sources added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
2006-12-12 14:49:08 +00:00

69 lines
2.1 KiB
Groff

.TH "eoTruncSelect" 3 "19 Oct 2006" "Version 0.9.4-cvs" "EO" \" -*- nroff -*-
.ad l
.nh
.SH NAME
eoTruncSelect \- eoTruncSelect selects individuals after truncating the population using \fBeoSelectOne\fP as it's mechanism.
.PP
.SH SYNOPSIS
.br
.PP
\fC#include <eoTruncSelect.h>\fP
.PP
Inherits \fBeoSelect< EOT >< EOT >\fP.
.PP
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "\fBeoTruncSelect\fP (\fBeoSelectOne\fP< \fBEOT\fP > &_select, \fBeoHowMany\fP _howMany)"
.br
.RI "\fICtor: from an \fBeoSelect\fP (and an eoMany to tell how many are kept for selectino. \fP"
.ti -1c
.RI "virtual void \fBoperator()\fP (const \fBeoPop\fP< \fBEOT\fP > &_source, \fBeoPop\fP< \fBEOT\fP > &_dest)"
.br
.RI "\fIThe implementation repeatidly selects an individual. \fP"
.in -1c
.SS "Private Attributes"
.in +1c
.ti -1c
.RI "\fBeoSelectOne\fP< \fBEOT\fP > & \fBselect\fP"
.br
.ti -1c
.RI "\fBeoHowMany\fP \fBhowMany\fP"
.br
.in -1c
.SH "Detailed Description"
.PP
.SS "template<class EOT> class eoTruncSelect< EOT >"
eoTruncSelect selects individuals after truncating the population using \fBeoSelectOne\fP as it's mechanism.
Therefore \fBeoSelectMany\fP needs an \fBeoSelectOne\fP in its ctor It will use an eoHowMnay to determine the number of guys to keep,
.PP
Definition at line 43 of file eoTruncSelect.h.
.SH "Member Function Documentation"
.PP
.SS "template<class EOT> virtual void \fBeoTruncSelect\fP< \fBEOT\fP >::operator() (const \fBeoPop\fP< \fBEOT\fP > & _source, \fBeoPop\fP< \fBEOT\fP > & _dest)\fC [inline, virtual]\fP"
.PP
The implementation repeatidly selects an individual.
.PP
\fBParameters:\fP
.RS 4
\fI_source\fP the source population
.br
\fI_dest\fP the resulting population (size of this population is the number of times \fBeoSelectOne\fP is called. It empties the destination and adds the selection into it)
.RE
.PP
.PP
Implements \fBeoBF< const eoPop< EOT > &, eoPop< EOT > &, void >\fP.
.PP
Definition at line 56 of file eoTruncSelect.h.
.PP
References eoSelectOne< EOT, WorthT >::setup().
.SH "Author"
.PP
Generated automatically by Doxygen for EO from the source code.