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

sort based on rank, breaking ties with crowding distance More...

Public Member Functions

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

Public Attributes

const Population< T > & pop
 population address
 

Detailed Description

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

sort based on rank, breaking ties with crowding distance

Definition at line 43 of file nsga2.h.

Constructor & Destructor Documentation

◆ sort_n()

template<ProgramType T>
Brush::Sel::NSGA2< T >::sort_n::sort_n ( const Population< T > & population)
inline

Definition at line 47 of file nsga2.h.

Member Function Documentation

◆ operator()()

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

Definition at line 49 of file nsga2.h.

Here is the call graph for this function:

Member Data Documentation

◆ pop

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

population address

Definition at line 45 of file nsga2.h.


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