Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Merge 7befd7e into 8576861
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-schulze authored May 13, 2021
2 parents 8576861 + 7befd7e commit d9a5b1d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion docs/src/developing.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ within the LightGraphs package should just work:
- [`outneighbors`](@ref)
- [`vertices`](@ref)
- [`is_directed`](@ref): Note that since LightGraphs uses traits to determine directedness, `is_directed` for a `CustomGraph` type
should be implemented with **both** of the following signatures:
should be implemented with **both** of the following signatures:
- `is_directed(::Type{CustomGraph})::Bool` (example: `is_directed(::Type{<:CustomGraph}) = false`)
- `is_directed(g::CustomGraph)::Bool`
- [`zero`](@ref)
Expand Down
2 changes: 0 additions & 2 deletions src/connectivity.jl
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ julia> strongly_connected_components(g)
```
"""

function strongly_connected_components end
# see https://github.com/mauro3/SimpleTraits.jl/issues/47#issuecomment-327880153 for syntax
@traitfn function strongly_connected_components(g::AG::IsDirected) where {T<:Integer, AG <: AbstractGraph{T}}
Expand Down Expand Up @@ -374,7 +373,6 @@ julia> strongly_connected_components_kosaraju(g)
```
"""

function strongly_connected_components_kosaraju end
@traitfn function strongly_connected_components_kosaraju(g::AG::IsDirected) where {T<:Integer, AG <: AbstractGraph{T}}

Expand Down
1 change: 0 additions & 1 deletion src/shortestpaths/spfa.jl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ julia> spfa_shortest_paths(gx, 1, d)
```
"""

function spfa_shortest_paths(
graph::AbstractGraph{U},
source::Integer,
Expand Down

0 comments on commit d9a5b1d

Please sign in to comment.