Code Documentation 3.1
Social Network Visualizer
Loading...
Searching...
No Matches
GraphDistancesCompare Class Reference

Metric to implement a min-priority queue. The operator returns true if if t1 is closer than t2 Used in Graph::dijkstra() priority_queue. More...

#include <global.h>

Public Member Functions

bool operator() (GraphDistance &t1, GraphDistance &t2)
 

Detailed Description

Metric to implement a min-priority queue. The operator returns true if if t1 is closer than t2 Used in Graph::dijkstra() priority_queue.

Member Function Documentation

◆ operator()()

bool GraphDistancesCompare::operator() ( GraphDistance t1,
GraphDistance t2 
)
inline

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