---
name: "mlpack_tree_EmptyStatistic"
section: "3"
platform: "linux"
package: "mlpack-doc"
version: "1.0.10-1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/mlpack_tree_EmptyStatistic"
---

# mlpack\_tree\_EmptyStatistic(3)

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

## NAME

mlpack::tree::EmptyStatistic -

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

## SYNOPSIS

### Public Member Functions

**EmptyStatistic** ()\
 template\<typename TreeType \> **EmptyStatistic** (TreeType &)\
 *This constructor is called when a node is finished being created.*  **~EmptyStatistic** ()\
 std::string **ToString** () const \
 *Returns a string representation of this object.*

## 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 34 of file statistic.hpp.

## Constructor & Destructor Documentation

### mlpack::tree::EmptyStatistic::EmptyStatistic ()` [inline]`

Definition at line 37 of file statistic.hpp.

### mlpack::tree::EmptyStatistic::~EmptyStatistic ()` [inline]`

Definition at line 38 of file statistic.hpp.

### 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.

Definition at line 48 of file statistic.hpp.

## Member Function Documentation

### std::string mlpack::tree::EmptyStatistic::ToString () const` [inline]`

Returns a string representation of this object.

Definition at line 54 of file statistic.hpp.

## Author

Generated automatically by Doxygen for MLPACK from the source code.
