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

base class for all block cluster distribution methods

#include <TDistrBC.hh>

Inheritance diagram for TDistrBC:
TBlockDistrBC TSFCDistrBC

Classes

class  TCostFunc
 Cost function for block clusters in load balancing. More...

Public Member Functions

virtual void distribute (const uint p, TBlockCluster *tree, const TDistrBC::TCostFunc *cf) const =0
 distribute block cluster tree
virtual void distribute (const uint p, TBlockClusterTree *tree, const TDistrBC::TCostFunc *cf) const
 distribute block cluster tree (tree version)

Member Function Documentation

virtual void distribute ( const uint  p,
TBlockCluster tree,
const TDistrBC::TCostFunc cf 
) const
pure virtual

distribute given block cluster tree onto p processors with costs for block clusters provided by cost-function cf

Implemented in TSFCDistrBC, and TBlockDistrBC.