EmptyStatistic< TDataset > Class Template Reference

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

List of all members.

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.

Detailed Description

template<class TDataset>
class EmptyStatistic< TDataset >

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

Use this as a template for your own.

EXPERIMENTAL FEATURE.

Definition at line 52 of file statistic.h.


Member Function Documentation

template<class TDataset >
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.

template<class TDataset >
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.

template<class TDataset >
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.

template<class TDataset >
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.


The documentation for this class was generated from the following files:
Generated on Mon Jan 24 12:04:40 2011 for FASTlib by  doxygen 1.6.3