|
PBeFS
Parallel Best-First Search
|
the closed list shared by the workers, a lock-free set of the nodes More...
#include <PBeFS/astar/structures/ads/ConcurrentClosed.h>
Classes | |
| struct | Local |
| the nodes that a worker allocates, and its spare node More... | |
| struct | Successor |
| a state generated, with its g, its h and its hash More... | |
Public Types | |
| using | State = state_t< D > |
| the state type | |
| using | Cost = cost_t< D > |
| the cost type | |
| using | NodeT = Node< State , Cost > |
| the node type | |
Public Member Functions | |
| ConcurrentClosed (const D &domain) | |
| constructor, taking the Domain (which must outlive the table) | |
| Lock & | lock (const NodeT *n) |
| the lock of the node n, chosen by its address | |
| void | prefetch (std::uint64_t hash) const |
| the tags and the word that the lookup of the hash reads first, fetched with no wait | |
| NodeT * | update (const State &t, std::uint64_t hash, Cost g, Cost h, NodeT *parent, std::uint8_t op, Local &local, std::uint64_t &duplicates) |
| records the path to t of cost g through parent and op [see ConcurrentClosed.h] | |
the closed list shared by the workers, a lock-free set of the nodes
The interface is the one described in ConcurrentClosed.h.
|
inlineexplicit |
constructor, taking the Domain (which must outlive the table)
|
inline |
the lock of the node n, chosen by its address
|
inline |
the tags and the word that the lookup of the hash reads first, fetched with no wait
|
inline |
records the path to t of cost g through parent and op [see ConcurrentClosed.h]