""" R. Tarjan, Enumeration of the elementary circuits of a directed graph, SIAM Journal on Computing, 2 (1973), pp. 211-216 procedure circuit_enumeration; begin procedure BACKTRACK(integer value v, logical result f); begin logical g; f := false; place v on point stack; mark(v) := true; place v on marked stack; for w in A(v) do if w