|
PBeFS
Parallel Best-First Search
|
sequential A* over a Domain, with the OPEN list Open More...
#include <PBeFS/astar/AStar.h>
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 | |
| using | SolutionT = Solution< State , Cost > |
| the solution type | |
Public Member Functions | |
| AStar (const D &domain, const SearchOptions &options={}) | |
| constructor, taking the Domain (which must outlive the AStar) | |
| SolutionT | solve (void) const |
| searches the Domain, returning the Solution | |
sequential A* over a Domain, with the OPEN list Open
This is Algorithm 1 of Fukunaga et al. (2017): the goal test is done when a node is selected for expansion, so that the first goal expanded is optimal if h is admissible. A node reached through a cheaper path is reopened even if it is closed, so that the search stays admissible with an admissible but inconsistent heuristic; with a consistent one no node is ever reopened.
Open defaults to BucketOpenList for integer costs and to HeapOpenList otherwise [see OpenList.h].
| using Cost = cost_t< D > |
the cost type
| using NodeT = Node< State , Cost > |
the node type
| using SolutionT = Solution< State , Cost > |
the solution type
| using State = state_t< D > |
the state type
|
inlineexplicit |
|
inlinenodiscard |