EmptyStatistic Class Reference

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

Public Member Functions

 EmptyStatistic ()
 
template
<
typename
TreeType
>
 EmptyStatistic (TreeType &)
 This constructor is called when a node is finished being created. More...

 
 ~EmptyStatistic ()
 
template
<
typename
Archive
>
void serialize (Archive &, const unsigned int)
 Serialize the statistic (there's nothing to be saved). More...

 

Detailed Description

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

Use this as a template for your own.

Definition at line 24 of file statistic.hpp.

Constructor & Destructor Documentation

◆ EmptyStatistic() [1/2]

EmptyStatistic ( )
inline

Definition at line 27 of file statistic.hpp.

◆ ~EmptyStatistic()

~EmptyStatistic ( )
inline

Definition at line 28 of file statistic.hpp.

◆ EmptyStatistic() [2/2]

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
nodeNode which this corresponds to.

Definition at line 38 of file statistic.hpp.

Member Function Documentation

◆ serialize()

void serialize ( Archive &  ,
const unsigned  int 
)
inline

Serialize the statistic (there's nothing to be saved).

Definition at line 44 of file statistic.hpp.


The documentation for this class was generated from the following file:
  • /home/jenkins-mlpack/mlpack.org/_src/mlpack-3.2.1/src/mlpack/core/tree/statistic.hpp