HLIBpro  2.0
Public Member Functions | List of all members
TAlgNDCTBuilder::TOptClusterSize Class Reference

Controls optimal cluster size per tree level.

#include <TAlgCTBuilder.hh>

Public Member Functions

 TOptClusterSize (const size_t opt_size=0, const double reduction=0.0)
 construct size control
 
bool is_optimal (const size_t n) const
 return true, if n is of optimal size
 
TOptClusterSize recurse () const
 return size control for next level in tree