SearchOptions

Declared in astar/Solution.h; the same struct on the site of Doxygen.

inheritance diagram of SearchOptions

struct SearchOptions

the options shared by all the searches

Subclassed by ParallelOptions

Public Members

std::size_t node_limit = 0

stop with Status::node_limit after storing this many nodes (0 = no limit); in a parallel search the limit holds for each worker

std::size_t expected_nodes = 0

the number of nodes the search is expected to store (0 = unknown): the closed list is sized for them at the start, instead of being doubled (and rehashed) as it fills; in a parallel search it is per worker