HLIBpro  2.3.1
Classes | Public Member Functions | List of all members
TDistrBC Class Referenceabstract

Base class for all block cluster distribution methods.

#include <TDistrBC.hh>

Inheritance diagram for TDistrBC:
TBlockDistrBC TNDDistrBC 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 More...
 
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 TNDDistrBC, TSFCDistrBC, and TBlockDistrBC.