Ask the algorithm for the number of connected components whose size is
equal to or greater than the specified threshold and lesser than the
specified ceiling.
Returns the number of edges in the shortest path from the source to the
given target.If target is not in the same connected
component as the source node, then the method returns
Double.POSITIVE_INFINITY.