|
ADS
Algorithms and Data Structures
|
The priority queue of one worker that the other workers steal from, beyond the book, and the frontier of \( p \) such queues of a parallel best-first search or branch-and-bound with work stealing. More...
Files | |
| file | ADS/concurrent/StealablePriorityQueue.h |
| The priority queue of one worker that the other workers steal from, beyond the book, and the frontier of \( p \) such queues of a parallel best-first search or branch-and-bound with work stealing. | |
Classes | |
| class | ADS::StealablePriorityQueue< K, T, Less, Bd, BdLess > |
| the exact PRIORITY QUEUE of one owner, of which a thief takes about half of the pairs, offered by the owner at its next operation; with a bound per pair of the type Bd (none if void), ordered by BdLess, it also knows the least bound of the pairs that its owner holds More... | |
| class | ADS::StealingFrontier< K, T, Less, Bd, BdLess > |
| the frontier of a best-first search of \( p \) workers, a StealablePriorityQueue each, with the steals from random victims and the detection of the termination; with the bounds Bd of the pairs, if not void, ordered by BdLess More... | |
Macros | |
| #define | ADS_SPQ_INLINE ADS_ALWAYS_INLINE |
| a function of the common path of the owner, inlined even where the compiler would not | |
| #define | ADS_SPQ_NOINLINE ADS_NOINLINE |
| a function never inlined, the rare path out of the common one | |
The priority queue of one worker that the other workers steal from, beyond the book, and the frontier of \( p \) such queues of a parallel best-first search or branch-and-bound with work stealing.
The definitions, the invariants and the costs of the area are in Theory of concurrency.
| #define ADS_SPQ_INLINE ADS_ALWAYS_INLINE |
a function of the common path of the owner, inlined even where the compiler would not
| #define ADS_SPQ_NOINLINE ADS_NOINLINE |
a function never inlined, the rare path out of the common one