Brush C++ API
A flexible interpretable machine learning framework
|
Lexicase selection operator. More...
#include <lexicase.h>
Public Member Functions | |
Lexicase (bool surv=false) | |
~Lexicase () | |
vector< size_t > | select (Population< T > &pop, int island, const Parameters &p) |
function returns a set of selected indices from pop | |
vector< size_t > | survive (Population< T > &pop, int island, const Parameters &p) |
lexicase survival | |
Public Member Functions inherited from Brush::Sel::SelectionOperator< T > | |
virtual | ~SelectionOperator () |
Destructor for the SelectionOperator class. | |
Additional Inherited Members | |
Public Attributes inherited from Brush::Sel::SelectionOperator< T > | |
bool | survival |
string | name |
Lexicase selection operator.
Definition at line 21 of file lexicase.h.
Brush::Sel::Lexicase< T >::Lexicase | ( | bool | surv = false | ) |
Definition at line 11 of file lexicase.cpp.
|
inline |
Definition at line 25 of file lexicase.h.
|
virtual |
function returns a set of selected indices from pop
Reimplemented from Brush::Sel::SelectionOperator< T >.
Definition at line 18 of file lexicase.cpp.
|
virtual |
lexicase survival
Reimplemented from Brush::Sel::SelectionOperator< T >.
Definition at line 166 of file lexicase.cpp.