Skip to content

Commit

Permalink
Merge pull request #17 from JuliaGraphs/sbromberger/fix-13
Browse files Browse the repository at this point in the history
Sbromberger/fix 13
  • Loading branch information
sbromberger authored Aug 19, 2018
2 parents d90eedb + ca2250c commit f10be3e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/StaticGraphs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ const AbstractStaticEdge{T} = AbstractSimpleEdge{T}
const StaticEdge{T} = SimpleEdge{T}

"""
AbstractStaticGraph
AbstractStaticGraph{T, U}
An abstract type representing a simple graph structure.
AbstractStaticGraphs must have the following elements:
- weightmx::AbstractSparseMatrix{Real}
An abstract type representing a simple graph structure parameterized by integer types
- `T`: the type representing the graph's vertices
- `U`: the type representing the number of edges in the graph
"""
abstract type AbstractStaticGraph{T<:Integer, U<:Integer} <: AbstractSimpleGraph{T} end

Expand Down
2 changes: 1 addition & 1 deletion src/staticdigraph.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
StaticDiGraph{T, U}
StaticDiGraph{T, U} <: AbstractStaticGraph{T, U}
A type representing a static directed graph.
"""
Expand Down
2 changes: 1 addition & 1 deletion src/staticgraph.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@


"""
StaticGraph{T, U}
StaticGraph{T, U} <: AbstractStaticGraph{T, U}
A type representing an undirected static graph.
"""
Expand Down

0 comments on commit f10be3e

Please sign in to comment.