/** Rebuild the heap to account for changed node values.
* Some path types change the target for the H score in the middle of the path calculation,
* that requires rebuilding the heap to keep it correctly sorted.
*/
public void RebuildHeap()
{
heap.Rebuild();
}