Skip to content
Discussion options

You must be logged in to vote

Finding Eulerian circuits is provided in the function nx.eulerian_circuit, defined here.

The description of Hierholzer's algorithm on the Wiki page seems to align quite closely with the implementation, at least at first glance. Whether the implementation is "Hierhozer-ian" enough for your use-case will depend on your specific criteria. However - if you want to find Eulerian circuits in Eulerian graphs, nx.eulerian_circuit is the place to start!

When searching the NetworkX docs, I'd recommend first searching by application (e.g. "Eulerian circuit") rather than by a specific named algorithm (e.g. "Hierhozers"). NetworkX tends to be organized by application/concept rather than by name!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@MatthewRalston
Comment options

@rossbar
Comment options

Answer selected by rossbar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants