This module implements a priority queue as a binary heap. It is derived from Justin Heyes-Jones C++ code which he has kindly donated to Freecell Solver (while re-licensing it under the public domain). Since then, the code has been converted to C , modified and optimised.
This module is used by the Best-First-Search scan.