Monday, 30 January 2012

Finding all cycles of a certain length in a graph

Is your graph topologically planar or non-planar, weighted or unweighted, directed or undirected?
Do you want an algorithm and/or a formula/bound?



For bounds on planar graphs, see Alt et al. On the number of simple cycles in planar graphs



For an algorithm, see the following paper. It incrementally builds k-cycles from (k-1)-cycles and (k-1)-paths without going through the rigourous task of computing the cycle space for the entire graph. It also handles duplicate avoidance.

No comments:

Post a Comment