HLIBpro  1.2
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 bool same_level=true)
 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_level
 if true (default), only clusters of same level may form block clusters

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