mlpack  master
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...

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

Definition at line 26 of file bound_traits.hpp.

Member Data Documentation

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.

Definition at line 31 of file bound_traits.hpp.


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