shortestPath(x, node1, node2)
"shortestPath"(x, node1, node2)
"shortestPath"(x, node1, node2)
getNode
)
indicating the beginning from which the path should be calculated.getNode
)
indicating the end of the path.node1
and
node2
as a vector of nodes.