HLIBpro  2.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TBCBuilder Class Reference

Recursively build block cluster tree with supplied admissibility condition.

#include <TBCBuilder.hh>

Inheritance diagram for TBCBuilder:
TDDBCBuilder

Public Member Functions

 TBCBuilder (const uint min_lvl=0, const cluster_level_mode_t cluster_lvl_mode=cluster_level_equal)
 construct block cluster tree builder
 
virtual ~TBCBuilder ()
 dtor
 
virtual TBlockClusterTreebuild (const TClusterTree *rowct, const TClusterTree *colct, const TAdmCondition *ac) const
 

Protected Member Functions

virtual TBlockClusterrec_build (TBlockCluster *parent, TCluster *rowcl, TCluster *colcl, const TAdmCondition *ac, const uint level) const
 recusivly build a block cluster tree for rowcl × colcl
 
virtual TBlockClustercreate_bc (TBlockCluster *parent) const
 create new node in tree with father node parent
 

Protected Attributes

const uint _min_lvl
 minimal level to accept admissible clusters
 
const bool _same_cluster_level
 disallow/allow different cluster levels in block cluster
 

Member Function Documentation

virtual TBlockClusterTree* build ( const TClusterTree rowct,
const TClusterTree colct,
const TAdmCondition ac 
) const
virtual

build block cluster tree for rowct × colct with admissibility condition ac