method

_path_to?

_path_to?(other, visited = Set.new)
protected

@param [Vertex] other the vertex to check if there’s a path to @param [Set] visited the vertices of {#graph} that have been visited @return [Boolean] whether there is a path to `other` from `self`