distanceTo
Computes the distance between two nodes, through getDistanceBetweenNodes.
Return
the distance
Parameters
target
the target device
Computes the distance between two nodes, through getDistanceBetweenNodes.
the distance
the target device