|
Mechanics of Defect Evolution Library
|
Template implementation of the Longest Processing Time (LPT) algorithm for task partiotioning. More...
#include <LPTpartitioner.h>
Public Types | |
| typedef std::multimap< double, T * > | BaseMapType |
| typedef std::deque< T * > | BaseDequeType |
| typedef std::vector< BaseDequeType > | BaseDequeVectorType |
| typedef std::vector< double > | BaseWeightVectorType |
Public Member Functions | |
| void | clear () |
| void | insert (const double &w, T *pT) |
| void | partition (const int &nProc) |
| double | totalWeight () const |
| size_t | bins () const |
| const BaseDequeType & | bin (const int &k) const |
| const double & | weight (const int &k) const |
| void | show () const |
Static Public Attributes | |
| static bool | partitionIsValid |
Template implementation of the Longest Processing Time (LPT) algorithm for task partiotioning.
Definition at line 26 of file LPTpartitioner.h.
| typedef std::deque<T*> model::LPTpartitioner< T >::BaseDequeType |
Definition at line 35 of file LPTpartitioner.h.
| typedef std::vector<BaseDequeType> model::LPTpartitioner< T >::BaseDequeVectorType |
Definition at line 36 of file LPTpartitioner.h.
| typedef std::multimap<double,T*> model::LPTpartitioner< T >::BaseMapType |
Definition at line 34 of file LPTpartitioner.h.
| typedef std::vector<double> model::LPTpartitioner< T >::BaseWeightVectorType |
Definition at line 37 of file LPTpartitioner.h.
|
inline |
Definition at line 102 of file LPTpartitioner.h.
|
inline |
Definition at line 96 of file LPTpartitioner.h.
|
inline |
Definition at line 43 of file LPTpartitioner.h.
|
inline |
Definition at line 52 of file LPTpartitioner.h.
|
inline |
Definition at line 60 of file LPTpartitioner.h.
|
inline |
Definition at line 114 of file LPTpartitioner.h.
|
inline |
Definition at line 84 of file LPTpartitioner.h.
|
inline |
Definition at line 108 of file LPTpartitioner.h.
|
static |
Definition at line 40 of file LPTpartitioner.h.