如何从有向图中找到(迭代)有向图中的所有周期?
例如,我想要这样的东西:
A->B->A A->B->C->A
但不是:B-> C-> B.
algorithm graph-theory graph-algorithm
algorithm ×1
graph-algorithm ×1
graph-theory ×1