DIY  3.0
data-parallel out-of-core C++ library
 All Classes Namespaces Functions Typedefs Groups Pages
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
diy::RegularPartners Struct Reference
Inheritance diagram for diy::RegularPartners:
diy::RegularMergePartners diy::RegularSwapPartners diy::RegularAllReducePartners diy::RegularBroadcastPartners

Classes

struct  DimK
 

Public Types

typedef std::vector< int > CoordVector
 
typedef std::vector< int > DivisionVector
 
typedef std::vector< DimKKVSVector
 
typedef DiscreteBounds Bounds
 
typedef RegularDecomposer< BoundsDecomposer
 

Public Member Functions

template<class Decomposer_ >
 RegularPartners (const Decomposer_ &decomposer, int k, bool contiguous=true)
 
 RegularPartners (const DivisionVector &divs, const KVSVector &kvs, bool contiguous=true)
 
size_t rounds () const
 
int size (int round) const
 
int dim (int round) const
 
int step (int round) const
 
const DivisionVector & divisions () const
 
const KVSVector & kvs () const
 
bool contiguous () const
 
void fill (int round, int gid, std::vector< int > &partners) const
 
int group_position (int round, int c, int step) const
 

Static Public Member Functions

static void factor (int k, const DivisionVector &divisions, KVSVector &kvs)
 

The documentation for this struct was generated from the following file: