mlpack  master
Public Member Functions | Public Attributes | List of all members
mlpack::tree::XTreeAuxiliaryInformation< TreeType >::SplitHistoryStruct Struct Reference

The X tree requires that the tree records it's "split history". More...

Public Member Functions

 SplitHistoryStruct (int dim)
 
 SplitHistoryStruct (const SplitHistoryStruct &other)
 
 SplitHistoryStruct (SplitHistoryStruct &&other)
 
SplitHistoryStructoperator= (const SplitHistoryStruct &other)
 
template<typename Archive >
void Serialize (Archive &ar, const unsigned int)
 

Public Attributes

std::vector< bool > history
 
int lastDimension
 

Detailed Description

template<typename TreeType>
struct mlpack::tree::XTreeAuxiliaryInformation< TreeType >::SplitHistoryStruct

The X tree requires that the tree records it's "split history".

To make this easy, we use the following structure.

Definition at line 169 of file x_tree_auxiliary_information.hpp.

Constructor & Destructor Documentation

template<typename TreeType >
mlpack::tree::XTreeAuxiliaryInformation< TreeType >::SplitHistoryStruct::SplitHistoryStruct ( int  dim)
inline
template<typename TreeType >
mlpack::tree::XTreeAuxiliaryInformation< TreeType >::SplitHistoryStruct::SplitHistoryStruct ( const SplitHistoryStruct other)
inline

Definition at line 180 of file x_tree_auxiliary_information.hpp.

template<typename TreeType >
mlpack::tree::XTreeAuxiliaryInformation< TreeType >::SplitHistoryStruct::SplitHistoryStruct ( SplitHistoryStruct &&  other)
inline

Definition at line 192 of file x_tree_auxiliary_information.hpp.

Member Function Documentation

template<typename TreeType >
SplitHistoryStruct& mlpack::tree::XTreeAuxiliaryInformation< TreeType >::SplitHistoryStruct::operator= ( const SplitHistoryStruct other)
inline
template<typename TreeType >
template<typename Archive >
void mlpack::tree::XTreeAuxiliaryInformation< TreeType >::SplitHistoryStruct::Serialize ( Archive &  ar,
const unsigned  int 
)
inline

Member Data Documentation

template<typename TreeType >
std::vector<bool> mlpack::tree::XTreeAuxiliaryInformation< TreeType >::SplitHistoryStruct::history
template<typename TreeType >
int mlpack::tree::XTreeAuxiliaryInformation< TreeType >::SplitHistoryStruct::lastDimension

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