|
Brush C++ API
A flexible interpretable machine learning framework
|
#include <nsga2.h>


Classes | |
| struct | comparator_obj |
| sort based on objective m More... | |
| struct | sort_n |
| sort based on rank, breaking ties with crowding distance More... | |
Public Member Functions | |
| NSGA2 (bool surv=false) | |
| ~NSGA2 () | |
| vector< size_t > | select (Population< T > &pop, int island, const Parameters &p) |
| selection according to the survival scheme of NSGA-II | |
| vector< size_t > | survive (Population< T > &pop, int island, const Parameters &p) |
| survival according to the survival scheme of NSGA-II | |
| vector< vector< int > > | fast_nds (Population< T > &, vector< size_t > &) |
| void | crowding_distance (Population< T > &, vector< vector< int > > &, int) |
Public Member Functions inherited from Brush::Sel::SelectionOperator< T > | |
| virtual | ~SelectionOperator () |
| Destructor for the SelectionOperator class. | |
Private Member Functions | |
| size_t | tournament (Population< T > &pop, size_t i, size_t j) const |
Additional Inherited Members | |
Public Attributes inherited from Brush::Sel::SelectionOperator< T > | |
| bool | survival |
| string | name |
| Brush::Sel::NSGA2< T >::NSGA2 | ( | bool | surv = false | ) |
|
inline |
| void Brush::Sel::NSGA2< T >::crowding_distance | ( | Population< T > & | pop, |
| vector< vector< int > > & | front, | ||
| int | fronti ) |
| vector< vector< int > > Brush::Sel::NSGA2< T >::fast_nds | ( | Population< T > & | pop, |
| vector< size_t > & | island_pool ) |
|
virtual |
selection according to the survival scheme of NSGA-II
Reimplemented from Brush::Sel::SelectionOperator< T >.
Definition at line 39 of file nsga2.cpp.

|
virtual |
survival according to the survival scheme of NSGA-II
Reimplemented from Brush::Sel::SelectionOperator< T >.
Definition at line 71 of file nsga2.cpp.

|
private |