The new functionall_paths_iterator
(sagemath 10.3) can enumerate paths between two points with a maximum length of k . However, if I just want to directly determine there is a k-path from two vertices, is there a better way?
The second question is: Is there a way to enumerate only k paths? Currently, the enumeration of path lengths seems to be random.