A* Pathfinding Project
4.1.9
The A* Pathfinding Project for Unity 3D
|
(node,time) pair More...
(node,time) pair
Public Member Functions | |
Entry (GraphNode node, int time) | |
override int | GetHashCode () |
Hash code is overriden because otherwise removing reservations would be extremely slow. More... | |
Public Attributes | |
GraphNode | node |
int | time |
override int GetHashCode | ( | ) |
Hash code is overriden because otherwise removing reservations would be extremely slow.
The CLR will likely only use the node reference to generate the hash code, but since a lot of entries point to the same node we would get a lot of hash collisions
GraphNode node |
int time |