Graybat  1.1
Graph Approach for Highly Generic Communication Schemes Based on Adaptive Topologies
Vertex Mapping

A vertex mapping is a class functor which describes the mapping of a graph to peers. A mapping is used by the cage in its graybat::Cage::distribute function and can strongly influence the application performance.GrayBat defines a handful of predefined mappings:

Own vertex mappings can be build from the following mapping skeleton:

namespace graybat {
namespace mapping {
struct MappingSkeleton {
template<typename T_Cage>
std::vector<typename T_Graph::Vertex> operator()(const unsigned processID, const unsigned processCount, T_Cage &cage) {...}
};
} /* mapping */
} /* graybat */

Further Links