Public Member Functions | List of all members
compare_edge Struct Reference

A struct that provides the comparison of edge objects. More...

#include <edge.h>

Public Member Functions

bool operator() (const edge &a, const edge &b) const
 Compare two edge objects in terms of cost. More...
 

Detailed Description

A struct that provides the comparison of edge objects.

Definition at line 46 of file edge.h.

Member Function Documentation

◆ operator()()

bool compare_edge::operator() ( const edge a,
const edge b 
) const

Compare two edge objects in terms of cost.

Parameters
aFirst edge.
bSecond edge.
Returns
True, if the cost of the first edge is lower than the cost of the second edge, false otherwise.

Definition at line 12 of file edge.cpp.


The documentation for this struct was generated from the following files:


coverage_path
Author(s): Micha Sende
autogenerated on Thu Oct 31 2019 10:37:31