'Finding the girth of a graph with networkx
Does NetworkX have a method or function that I can use to figure the girth of a graph?
For context, I'm trying to verify that a Mycielskian graph that I'm constructing (I know that there NetworkX already has an algorithm for this) has a girth greater than 4.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|