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

Holds the distance to target. Used in Graph::dijkstra() priority_queue. More...

#include <global.h>

Public Member Functions

 GraphDistance (int t, int dist)
 

Data Fields

int target
 
int distance
 

Detailed Description

Holds the distance to target. Used in Graph::dijkstra() priority_queue.

Constructor & Destructor Documentation

◆ GraphDistance()

GraphDistance::GraphDistance ( int  t,
int  dist 
)
inline

Field Documentation

◆ distance

int GraphDistance::distance

◆ target

int GraphDistance::target

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