|
PBeFS
Parallel Best-First Search
|
Header file for the class template FarmAStar, a centralized parallel A* written as a farm with feedback on an executor of ADS: a master holds OPEN and CLOSED, and the workers expand the nodes it sends them. More...
#include <memory>#include <stdexcept>#include <tuple>#include <type_traits>#include <vector>#include "PBeFS/astar/HDAStar.h"#include "ADS/parallel/Farm.h"Go to the source code of this file.
Classes | |
| class | FarmAStar< D, Executor, Open > |
| a master-worker parallel A* on a farm with feedback More... | |
Namespaces | |
| namespace | PBeFS_di_unipi_it |
| namespace for the Parallel Best-First Search library | |
Header file for the class template FarmAStar, a centralized parallel A* written as a farm with feedback on an executor of ADS: a master holds OPEN and CLOSED, and the workers expand the nodes it sends them.
The search is the centralized scheme of section 3.2 of Fukunaga et al. (2017), written as a farm with feedback, with the notation of the page "Best-first search and A*" of the documentation: the master alone holds OPEN, CLOSED, the nodes and the incumbent \( z \), out counts the tasks at the workers, and INSERT is the one of HDA* [see HDAStar.h] on the lists of the master:
The test of line 5 is exact, since the master alone changes OPEN and \( z \) and a node is either in OPEN or in a task that is out; the workers only generate the successors, and therefore the scheme pays when the generation costs much more than the bookkeeping of line 8, which the master does alone.