libcrn  3.9.5
A document image processing library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
crn::FitnessThreshold Struct Reference

Stops when the best individual has a fitness lower than a threshold. More...

#include <CRNGenetic.h>

Public Member Functions

constexpr FitnessThreshold (double thresh)
 
template<typename T >
bool operator() (const std::multimap< double, T > &population) const
 

Detailed Description

Stops when the best individual has a fitness lower than a threshold.

Definition at line 204 of file CRNGenetic.h.

Constructor & Destructor Documentation

constexpr crn::FitnessThreshold::FitnessThreshold ( double  thresh)
inline

Definition at line 206 of file CRNGenetic.h.

Member Function Documentation

template<typename T >
bool crn::FitnessThreshold::operator() ( const std::multimap< double, T > &  population) const
inline

Definition at line 207 of file CRNGenetic.h.


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