HLIBpro  1.2
Classes | Public Types | Public Member Functions | List of all members
TSFCDistrBC Class Reference

class for distributing block cluster trees using space filling curves

#include <TDistrBC.hh>

Inheritance diagram for TSFCDistrBC:
TDistrBC

Classes

struct  TTypedBC
 associate a blockcluster with a state More...

Public Types

enum  curve_t
 different types of space-filling-curves
typedef std::map
< TBlockCluster *, double > 
cost_map_t
 mapping of block clusters to costs

Public Member Functions

 TSFCDistrBC (const curve_t curve_type=HILBERT_CURVE, const double eps=0.05)
 construct block cluster distributor
virtual void distribute (const uint p, TBlockCluster *tree, const TDistrBC::TCostFunc *cf) const
 distribute tree, obtain costs from cost-function cf
virtual void distribute (const uint p, TBlockCluster *tree, cost_map_t *id2costs) const
 distribute tree, obtain costs from mapping id2costs
- Public Member Functions inherited from TDistrBC
virtual void distribute (const uint p, TBlockClusterTree *tree, const TDistrBC::TCostFunc *cf) const
 distribute block cluster tree (tree version)