cpp-toolbox  0.0.1
A toolbox library for C++
Loading...
Searching...
No Matches
custom_metric.hpp File Reference
#include <functional>
#include <memory>
#include <cpp-toolbox/metrics/base_metric.hpp>
Include dependency graph for custom_metric.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  toolbox::metrics::CustomMetric< T >
 
class  toolbox::metrics::LambdaMetric< T, Lambda >
 
class  toolbox::metrics::WeightedMetric< BaseMetric >
 
class  toolbox::metrics::ParameterizedMetric< T >
 
class  toolbox::metrics::CompositeMetric< T >
 
class  toolbox::metrics::ScaledMetric< T >
 

Namespaces

namespace  toolbox
 
namespace  toolbox::metrics
 

Functions

template<typename T , typename Lambda >
auto toolbox::metrics::make_lambda_metric (Lambda &&lambda)
 
template<typename BaseMetric >
auto toolbox::metrics::make_weighted_metric (BaseMetric &&metric, const std::vector< typename std::decay_t< BaseMetric >::element_type > &weights)