Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Port] Add cycle_basis to docs #27

Merged
merged 1 commit into from
Nov 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/src/pathing.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ In graph theory, a cycle is defined to be a path that starts from some vertex

```@docs
is_cyclic
cycle_basis
maxsimplecycles
simplecycles
simplecycles_iter
Expand Down
2 changes: 1 addition & 1 deletion src/cycles/basis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""
cycle_basis(g, root=nothing)

Return a list of cycles which form a basis for cycles of graph `g`, optionally starting at node `root`.
Return a list of cycles which form a basis for cycles of the undirected graph `g`, optionally starting at node `root`.

A basis for cycles of a network is a minimal collection of
cycles such that any cycle in the network can be written
Expand Down