torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
torc::router::RouteNodePtrCostCompare Class Reference

Binary predicate for comparing RouteNode pointers based on cost. More...

#include <RouteNode.hpp>

+ Inheritance diagram for torc::router::RouteNodePtrCostCompare:
+ Collaboration diagram for torc::router::RouteNodePtrCostCompare:

Public Member Functions

bool operator() (const RouteNode *a, const RouteNode *b) const
 

Detailed Description

Binary predicate for comparing RouteNode pointers based on cost.

Definition at line 118 of file RouteNode.hpp.

Member Function Documentation

bool torc::router::RouteNodePtrCostCompare::operator() ( const RouteNode a,
const RouteNode b 
) const
inline

Definition at line 120 of file RouteNode.hpp.

120  {
121  return (a->getCost() > b->getCost());
122  }

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: