Skip to content

Struct walle::CompareNodes

ClassList > walle > CompareNodes

Custom comparison function for priority queue. More...

  • #include <AgentLibary.hpp>

Public Functions

Type Name
bool operator() (const std::shared_ptr< walle::Node > & a, const std::shared_ptr< walle::Node > & b) const

Detailed Description

Returns:

if a has a greater total cost than b

Public Functions Documentation

function operator()

inline bool walle::CompareNodes::operator() (
    const std::shared_ptr< walle::Node > & a,
    const std::shared_ptr< walle::Node > & b
) const

The documentation for this class was generated from the following file source/Agents/AgentLibary.hpp