18 edge(
int f,
int t,
int c);
25 bool operator== (
const edge &e)
const;
54 bool operator() (
const edge& a,
const edge& b)
const;
67 size_t operator() (
const edge& e)
const;
A struct that provides the comparison of edge objects.
int cost
The cost of the edge, i.e., length.
int to
The ending vertex of the edge.
A class for representing edges.
A struct that provides the hash function of edge objects.
int from
The starting vertex of the edge.