E.V.E
v2023.02.15
 
Loading...
Searching...
No Matches
eve::algo::traits< Settings > Struct Template Reference

A compile time set of all the tuning parameters passed to the algorithm. These allow you to fine-tune the loops and not being stuck with our defaults. More...

#include <eve/module/algo/algo/traits.hpp>

Detailed Description

template<typename Settings>
struct eve::algo::traits< Settings >

Unless you write your own algorithms like eve's, you probably won't need to use this class. If you do that, we suggest to looking at one of the algorithms from eve/module/algo/algo.

When calling you just pass individual traits via [], i.e.

eve::algo::find_if[eve::algo::expensive_callable][eve::algo::cosider_types<double>]()

You can also pass traits struct:

eve::algo::find_if[eve::algo::traits{eve::algo::expensive_callable, eve::algo::cosider_types<double>}]()
A compile time set of all the tuning parameters passed to the algorithm. These allow you to fine-tune...
Definition traits.hpp:50

This is useful for prebuilding traits (for example eve::algo::default_simple_algo_traits)