getEdgeWeight abstract method
A Method to get the weight of an edge. Because the graph has directional nodes
you need to specify a starting node a
and an ending node b
. Because this is a directed graph a
and b
are NOT interchangeable.
Implementation
double getEdgeWeight(Vertex a, Vertex b);