MCPcopy Create free account
hub / github.com/dabing1022/Blog / ReorderDownwards

Method ReorderDownwards

GameAI/misc/PriorityQueue.h:211–239  ·  view source on GitHub ↗

given a heap, the heapsize and a node in the heap, this function reorders the elements in a top down fashion by moving down the heap and swapping the current node with the smaller of its two children (provided a child is larger than the current node)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

SwapFunction · 0.85

Tested by

no test coverage detected