mlpack
Public Member Functions | List of all members
mlpack::tree::EmptyStatistic Class Reference

Empty statistic if you are not interested in storing statistics in your tree. More...

#include <statistic.hpp>

Public Member Functions

template<typename TreeType >
 EmptyStatistic (TreeType &)
 This constructor is called when a node is finished being created. More...
 
template<typename Archive >
void serialize (Archive &, const uint32_t)
 Serialize the statistic (there's nothing to be saved).
 

Detailed Description

Empty statistic if you are not interested in storing statistics in your tree.

Use this as a template for your own.

Constructor & Destructor Documentation

◆ EmptyStatistic()

template<typename TreeType >
mlpack::tree::EmptyStatistic::EmptyStatistic ( TreeType &  )
inline

This constructor is called when a node is finished being created.

The node is finished, and its children are finished, but it is not necessarily true that the statistics of other nodes are initialized yet.

Parameters
*(node) Node which this corresponds to.

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