Feat C++ API
A feature engineering automation tool
FT::Sel::Tournament Class Reference

#include <tournament.h>

Inheritance diagram for FT::Sel::Tournament:
Collaboration diagram for FT::Sel::Tournament:

Public Member Functions

 Tournament (bool surv)
 
 ~Tournament ()
 
vector< size_t > select (Population &pop, const Parameters &p, const Data &d)
 selection according to the survival scheme of Tournament More...
 
vector< size_t > survive (Population &pop, const Parameters &p, const Data &d)
 survival according to the survival scheme of Tournament More...
 
- Public Member Functions inherited from FT::Sel::SelectionOperator
virtual ~SelectionOperator ()
 

Private Member Functions

size_t tournament (vector< Individual > &pop, size_t i, size_t j) const
 

Additional Inherited Members

- Public Attributes inherited from FT::Sel::SelectionOperator
bool survival
 
string name
 

Detailed Description

Definition at line 17 of file tournament.h.

Constructor & Destructor Documentation

◆ Tournament()

FT::Sel::Tournament::Tournament ( bool  surv)

Tournament based selection and survival methods.

Definition at line 16 of file tournament.cc.

◆ ~Tournament()

FT::Sel::Tournament::~Tournament ( )

Definition at line 18 of file tournament.cc.

Member Function Documentation

◆ select()

vector< size_t > FT::Sel::Tournament::select ( Population pop,
const Parameters p,
const Data d 
)
virtual

selection according to the survival scheme of Tournament

Reimplemented from FT::Sel::SelectionOperator.

Definition at line 34 of file tournament.cc.

◆ survive()

vector< size_t > FT::Sel::Tournament::survive ( Population pop,
const Parameters p,
const Data d 
)
virtual

survival according to the survival scheme of Tournament

Reimplemented from FT::Sel::SelectionOperator.

Definition at line 67 of file tournament.cc.

◆ tournament()

size_t FT::Sel::Tournament::tournament ( vector< Individual > &  pop,
size_t  i,
size_t  j 
) const
private

Definition at line 20 of file tournament.cc.


The documentation for this class was generated from the following files: