Namespaces | Functions

include/util/proportional.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  util
 

This namespace provides multiple utilitarian classes and function used in 1D and 2D partitioning algorithm (for instance as input and output).


Functions

template<typename T , typename Pr >
void util::distribute_processors (const Pr &psa, const util::RectList< T, Pr > &v, std::vector< int > &alloc, int m)
 allocate processors to rectangle proportionnally to their load.
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines