RandomDistribution
Declared in astar/Distribution.h; the same class on the site of Doxygen.
-
template<Domain D>
class RandomDistribution a random worker for each generated state
The randomized strategy of Kumar, Ramesh and Rao (1988) and of Karp and Zhang (1993): a state is detected as a duplicate only if its copies happen to reach the same worker. owner() is const but changes the state of the generator: each worker must have its own copy.
Public Functions
Public Static Functions
-
static inline std::string name(void)
Public Static Attributes
-
static constexpr bool per_worker = true
true: each worker needs its own copy
-
static inline std::string name(void)