Skip to content

An implementation of the Johnson's circuit finding algorithm

Notifications You must be signed in to change notification settings

hellogcc/circuit-finding-algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

circuit-finding-algorithm

Written by Xing Mingjie ([email protected]).

An implementation of the Johnson's circuit finding algorithm [1].

[1] Donald B. Johnson, Finding all the elementary circuits of a directed graph, SIAM Journal on Computing, 1975.

Example

$ g++ -std=c++11 Example.cpp
$ ./a.out
circuit: 1 -> 2 -> 3 -> 5 -> 1
circuit: 1 -> 2 -> 4 -> 3 -> 5 -> 1
circuit: 2 -> 2

About

An implementation of the Johnson's circuit finding algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages