opencog::tournament_selection Struct Reference

#include <selection.h>

Collaboration diagram for opencog::tournament_selection:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 tournament_selection (int t_size_, RandGen &_rng)
template<typename In, typename Out>
void operator() (In from, In to, Out dst, int n_select) const

Public Attributes

int t_size
RandGenrng


Detailed Description

Definition at line 36 of file selection.h.


Constructor & Destructor Documentation

opencog::tournament_selection::tournament_selection ( int  t_size_,
RandGen _rng 
) [inline]

Definition at line 37 of file selection.h.


Member Function Documentation

template<typename In, typename Out>
void opencog::tournament_selection::operator() ( In  from,
In  to,
Out  dst,
int  n_select 
) const [inline]

Definition at line 44 of file selection.h.

References d(), dorepeat, opencog::RandGen::randint(), rng, and t_size.


Member Data Documentation

Definition at line 40 of file selection.h.

Definition at line 41 of file selection.h.


The documentation for this struct was generated from the following file:

Generated on Fri Dec 4 23:24:44 2009 for OpenCog Framework by  doxygen 1.5.6