mlpack
3.4.2
mlpack-3.4.2
src
mlpack
core
tree
statistic.hpp
Go to the documentation of this file.
1
14
#ifndef MLPACK_CORE_TREE_STATISTIC_HPP
15
#define MLPACK_CORE_TREE_STATISTIC_HPP
16
17
namespace
mlpack
{
18
namespace
tree {
19
24
class
EmptyStatistic
25
{
26
public
:
27
EmptyStatistic
() { }
28
~EmptyStatistic
() { }
29
37
template
<
typename
TreeType>
38
EmptyStatistic
(TreeType&
/* node */
) { }
39
43
template
<
typename
Archive>
44
void
serialize
(Archive&
/* ar */
,
const
unsigned
int
/* version */
)
45
{ }
46
};
47
48
}
// namespace tree
49
}
// namespace mlpack
50
51
#endif // MLPACK_CORE_TREE_STATISTIC_HPP
mlpack::tree::EmptyStatistic::~EmptyStatistic
~EmptyStatistic()
Definition:
statistic.hpp:28
mlpack
Linear algebra utility functions, generally performed on matrices or vectors.
Definition:
add_to_cli11.hpp:21
mlpack::tree::EmptyStatistic::EmptyStatistic
EmptyStatistic()
Definition:
statistic.hpp:27
mlpack::tree::EmptyStatistic::serialize
void serialize(Archive &, const unsigned int)
Serialize the statistic (there's nothing to be saved).
Definition:
statistic.hpp:44
mlpack::tree::EmptyStatistic::EmptyStatistic
EmptyStatistic(TreeType &)
This constructor is called when a node is finished being created.
Definition:
statistic.hpp:38
mlpack::tree::EmptyStatistic
Empty statistic if you are not interested in storing statistics in your tree.
Definition:
statistic.hpp:25
Generated by
1.8.20