Struct created to encapsulate function compare cost between 2 nodes. Used in with multiple algorithms and classes.
Public Functions
-
bool
operator()
(const Node &p1, const Node &p2) const
Compare cost between 2 nodes.
- Return
- Returns whether cost to get to node 1 is greater than the cost to get to node 2
- Parameters
-