Base class for cluster tree construction algorithms based on graph partitioning with graph defined by a sparse matrix.
#include <TAlgCTBuilder.hh>
Public Member Functions |
|
| TAlgCTBuilder (TAlgPartStrat *part_strat, const uint n_min=CFG::Cluster::nmin, const uint min_leaf_lvl=0) |
| | construct cluster tree builder with given partition strategy and tree parameters
|
|
virtual | ~TAlgCTBuilder () |
| | dtor
|
|
void | set_high_deg_fac (const uint fac) |
| | activate/deactivate (if fac = 0) high degree node separation
|
| void | set_use_edge_weights (const bool use_edge_weights, const bool sym_edge_weights) |
|
virtual TClusterTree * | build (const TSparseMatrix *S, const idx_t idx_ofs=0) const |
| | build cluster tree using connectivity in sparse matrix S
|
|
virtual TCluster * | divide (const TGraph &graph, const uint lvl, TPermutation &perm, const idx_t idx_ofs, const uint n_min, const TSparseMatrix *S, const uint max_lvl) const |
| | divide graph graph and build corresponding cluster tree
|
|
virtual void | partition (const TGraph &graph, TNodeSet &left, TNodeSet &right) const |
| | compute graph bi-partitioning of graph and store result in left and right
|
Member Function Documentation
- See Also
- partition, but first check graph for connected components
| void set_use_edge_weights |
( |
const bool |
use_edge_weights, |
|
|
const bool |
sym_edge_weights |
|
) |
| |
activate/deactivate the use of edge weights for the graph bi-partitioning and whether they should be handled symmetric