all_simple_paths(G, source, target[, cutoff])
all_simple_paths
生成图G中从源到目标的所有简单路径。
all_simple_edge_paths(G, source, target[, ...])
all_simple_edge_paths
为从源到目标的所有简单路径生成边列表。
is_simple_path(G, nodes)
is_simple_path
如果且仅当 nodes 在 G .
nodes
G
shortest_simple_paths(G, source, target[, ...])
shortest_simple_paths
生成图G中从源到目标的所有简单路径,