mlpack
Static Public Attributes | List of all members
mlpack::bound::BoundTraits< BoundType > Struct Template Reference

A class to obtain compile-time traits about BoundType classes. More...

#include <bound_traits.hpp>

Static Public Attributes

static const bool HasTightBounds = false
 If true, then the bounds for each dimension are tight. More...
 

Detailed Description

template<typename BoundType>
struct mlpack::bound::BoundTraits< BoundType >

A class to obtain compile-time traits about BoundType classes.

If you are writing your own BoundType class, you should make a template specialization in order to set the values correctly.

See also
TreeTraits, KernelTraits

Member Data Documentation

◆ HasTightBounds

template<typename BoundType >
const bool mlpack::bound::BoundTraits< BoundType >::HasTightBounds = false
static

If true, then the bounds for each dimension are tight.

If false, then the bounds for each dimension may be looser than the range of all points held in the bound. This defaults to false.


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