Brush C++ API
A flexible interpretable machine learning framework
Loading...
Searching...
No Matches
Brush::Pop::Population< T >::SortComplexity Struct Reference

Sort each island in increasing complexity. This is not thread safe. I should set complexities of the whole population before calling it, and use get_complexity instead. More...

#include <population.h>

Collaboration diagram for Brush::Pop::Population< T >::SortComplexity:

Public Member Functions

 SortComplexity (Population &p)
 
bool operator() (size_t i, size_t j)
 

Public Attributes

Populationpop
 

Detailed Description

template<ProgramType T>
struct Brush::Pop::Population< T >::SortComplexity

Sort each island in increasing complexity. This is not thread safe. I should set complexities of the whole population before calling it, and use get_complexity instead.

Definition at line 64 of file population.h.

Constructor & Destructor Documentation

◆ SortComplexity()

template<ProgramType T>
Brush::Pop::Population< T >::SortComplexity::SortComplexity ( Population & p)
inline

Definition at line 67 of file population.h.

Member Function Documentation

◆ operator()()

template<ProgramType T>
bool Brush::Pop::Population< T >::SortComplexity::operator() ( size_t i,
size_t j )
inline

Definition at line 68 of file population.h.

Here is the call graph for this function:

Member Data Documentation

◆ pop

template<ProgramType T>
Population& Brush::Pop::Population< T >::SortComplexity::pop

Definition at line 66 of file population.h.


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