Brush C++ API
A flexible interpretable machine learning framework
Loading...
Searching...
No Matches
Brush::Sel::NSGA2< T >::comparator_obj Struct Reference

sort based on objective m More...

Public Member Functions

 comparator_obj (const Population< T > &population, int index)
 
bool operator() (int i, int j)
 

Public Attributes

const Population< T > & pop
 population address
 
int m
 objective index
 

Detailed Description

template<ProgramType T>
struct Brush::Sel::NSGA2< T >::comparator_obj

sort based on objective m

Definition at line 64 of file nsga2.h.

Constructor & Destructor Documentation

◆ comparator_obj()

template<ProgramType T>
Brush::Sel::NSGA2< T >::comparator_obj::comparator_obj ( const Population< T > & population,
int index )
inline

Definition at line 69 of file nsga2.h.

Member Function Documentation

◆ operator()()

template<ProgramType T>
bool Brush::Sel::NSGA2< T >::comparator_obj::operator() ( int i,
int j )
inline

Definition at line 73 of file nsga2.h.

Here is the call graph for this function:

Member Data Documentation

◆ m

template<ProgramType T>
int Brush::Sel::NSGA2< T >::comparator_obj::m

objective index

Definition at line 67 of file nsga2.h.

◆ pop

template<ProgramType T>
const Population<T>& Brush::Sel::NSGA2< T >::comparator_obj::pop

population address

Definition at line 66 of file nsga2.h.


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