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

Recursively build block cluster tree with supplied admissibility condition.

#include <TBCBuilder.hh>

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 std::unique_ptr< TBlockClusterTreebuild (const TClusterTree *rowct, const TClusterTree *colct, const TAdmCondition *ac) const
 

Protected Member Functions

virtual std::unique_ptr< 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 std::unique_ptr< TBlockClustercreate_bc (TBlockCluster *parent) const
 create new node in tree with father node parent
 

Member Function Documentation

virtual std::unique_ptr< TBlockClusterTree > build ( const TClusterTree rowct,
const TClusterTree colct,
const TAdmCondition ac 
) const
virtual

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