#include <BisectionMapper.h>
Public Types | |
typedef Interval< Dim > | Domain_t |
typedef Node< Domain_t > | Value_t |
typedef std::vector< Value_t * > | List_t |
Public Member Functions | |
template<class Partitioner > | |
BisectionMapper (const Partitioner &gp, const Loc< Dim > &nblocks) | |
template<class Partitioner > | |
BisectionMapper (const Partitioner &gp) | |
BisectionMapper (const Loc< Dim > &blocks) | |
void | map (const List_t &templist) const |
Public Attributes | |
Loc< Dim > | blocks_m |
It assigns contexts to nodes by recursively bisecting the partition.
typedef Interval<Dim> BisectionMapper< Dim >::Domain_t |
Reimplemented from ContextMapper< Dim >.
typedef Node<Domain_t> BisectionMapper< Dim >::Value_t |
Reimplemented from ContextMapper< Dim >.
typedef std::vector<Value_t *> BisectionMapper< Dim >::List_t |
Reimplemented from ContextMapper< Dim >.
BisectionMapper< Dim >::BisectionMapper | ( | const Partitioner & | gp, | |
const Loc< Dim > & | nblocks | |||
) | [inline] |
BisectionMapper< Dim >::BisectionMapper | ( | const Partitioner & | gp | ) | [inline] |
BisectionMapper< Dim >::BisectionMapper | ( | const Loc< Dim > & | blocks | ) | [inline] |
void BisectionMapper< Dim >::map | ( | const List_t & | templist | ) | const [inline, virtual] |
Implements ContextMapper< Dim >.
References DomainBase< DT >::begin(), BisectionMapper< Dim >::blocks_m, Pooma::context(), Pooma::contexts(), and ContextMapper< Dim >::setAffinity().
Loc<Dim> BisectionMapper< Dim >::blocks_m |
Referenced by BisectionMapper< Dim >::map().