NiHu  2.0
NiHu::complexity_estimator< TestField, TrialField, KernelEstimator > Class Template Reference

class to estimate kernel complexity between two fields More...

#include <complexity_estimator.hpp>

Public Types

enum  { test_field_complexity, trial_field_complexity }
 
typedef TestField test_field_t
 the test field type
 
typedef TrialField trial_field_t
 the trial field type
 

Static Public Member Functions

static unsigned eval (field_base< test_field_t > const &test_field, field_base< trial_field_t > const &trial_field)
 compute total complexity More...
 

Static Public Attributes

static const unsigned total_field_complexity
 

Detailed Description

template<class TestField, class TrialField, class KernelEstimator>
class NiHu::complexity_estimator< TestField, TrialField, KernelEstimator >

class to estimate kernel complexity between two fields

Template Parameters
TestFieldthe test field
TrialFieldthe trial field
KernelEstimatorthe kernel's complexity estimator

Definition at line 39 of file complexity_estimator.hpp.

Member Enumeration Documentation

◆ anonymous enum

template<class TestField , class TrialField , class KernelEstimator >
anonymous enum
Enumerator
test_field_complexity 

the test field complexity

trial_field_complexity 

the trial field complexity

Definition at line 47 of file complexity_estimator.hpp.

Member Function Documentation

◆ eval()

template<class TestField , class TrialField , class KernelEstimator >
static unsigned NiHu::complexity_estimator< TestField, TrialField, KernelEstimator >::eval ( field_base< test_field_t > const &  test_field,
field_base< trial_field_t > const &  trial_field 
)
inlinestatic

compute total complexity

Parameters
[in]test_fieldthe test field instance
[in]trial_fieldthe trial field instance
Returns
the kernel complexity

Definition at line 69 of file complexity_estimator.hpp.

Member Data Documentation

◆ total_field_complexity

template<class TestField , class TrialField , class KernelEstimator >
const unsigned NiHu::complexity_estimator< TestField, TrialField, KernelEstimator >::total_field_complexity
static
Initial value:

\brie the total field complexity

Definition at line 59 of file complexity_estimator.hpp.


The documentation for this class was generated from the following file:
tmp::integer
integer type representation
Definition: integer.hpp:54
tmp::max_
Compute maximum of types.
Definition: relation.hpp:63