Skip to content

Instantly share code, notes, and snippets.

@hyaniner
hyaniner / PriorityQueue.cpp
Created May 15, 2021 12:38 — forked from SomethingWithComputers/PriorityQueue.cpp
A simple Priority Queue (Binary Heap) wrapper for UE4's TArray (for example for A*/A star and Greedy graph traversal)
template <typename InElementType>
struct TPriorityQueueNode {
InElementType Element;
float Priority;
TPriorityQueueNode()
{
}
TPriorityQueueNode(InElementType InElement, float InPriority)

Keybase proof

I hereby claim:

  • I am cutycutyhyaline on github.
  • I am hyaline (https://keybase.io/hyaline) on keybase.
  • I have a public key ASDxyQNBKi2_aEP4Gg_OGDn16YaJkKJ65DEZxsdBVVYwTQo

To claim this, I am signing this object: