Empty statistic if you are not interested in storing statistics in your tree. More...
Public Member Functions | |
void | Init (const TDataset &dataset, index_t start, index_t count, const EmptyStatistic &left_stat, const EmptyStatistic &right_stat) |
Initializes by combining statistics of two partitions. | |
void | Init (const TDataset &dataset, index_t start, index_t count) |
Initializes by taking statistics on raw data. | |
void | Init (const TDataset &dataset, index_t start, index_t count, const EmptyStatistic &left_stat, const EmptyStatistic &right_stat) |
Initializes by combining statistics of two partitions. | |
void | Init (const TDataset &dataset, index_t start, index_t count) |
Initializes by taking statistics on raw data. |
Empty statistic if you are not interested in storing statistics in your tree.
Use this as a template for your own.
Definition at line 52 of file statistic.h.
void EmptyStatistic< TDataset >::Init | ( | const TDataset & | dataset, | |
index_t | start, | |||
index_t | count, | |||
const EmptyStatistic< TDataset > & | left_stat, | |||
const EmptyStatistic< TDataset > & | right_stat | |||
) | [inline] |
Initializes by combining statistics of two partitions.
This lets you build fast bottom-up statistics when building trees.
Definition at line 68 of file statistic.h.
void EmptyStatistic< TDataset >::Init | ( | const TDataset & | dataset, | |
index_t | start, | |||
index_t | count | |||
) | [inline] |
Initializes by taking statistics on raw data.
Definition at line 60 of file statistic.h.
void EmptyStatistic< TDataset >::Init | ( | const TDataset & | dataset, | |
index_t | start, | |||
index_t | count, | |||
const EmptyStatistic< TDataset > & | left_stat, | |||
const EmptyStatistic< TDataset > & | right_stat | |||
) | [inline] |
Initializes by combining statistics of two partitions.
This lets you build fast bottom-up statistics when building trees.
Definition at line 68 of file statistic.h.
void EmptyStatistic< TDataset >::Init | ( | const TDataset & | dataset, | |
index_t | start, | |||
index_t | count | |||
) | [inline] |
Initializes by taking statistics on raw data.
Definition at line 60 of file statistic.h.