Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Cyclomatic number
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Generalizations to directed graphs=== The [[cycle rank]] is an invariant of [[directed graph]]s that measures the level of nesting of cycles in the graph. It has a more complicated definition than cyclomatic number (closely related to the definition of [[tree-depth]] for undirected graphs) and is more difficult to compute. Another problem for directed graphs related to the cyclomatic number is the minimum [[feedback arc set]], the smallest set of edges whose removal breaks all directed cycles. Both cycle rank and the minimum feedback arc set are [[NP-hard]] to compute. It is also possible to compute a simpler invariant of directed graphs by ignoring the directions of the edges and computing the circuit rank of the underlying undirected graph. This principle forms the basis of the definition of [[cyclomatic complexity]], a software metric for estimating how complicated a piece of computer code is.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)