File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ const AbstractStaticEdge{T} = AbstractSimpleEdge{T}
4444const StaticEdge{T} = SimpleEdge{T}
4545
4646"""
47- AbstractStaticGraph
47+ AbstractStaticGraph{T, U}
4848
49- An abstract type representing a simple graph structure.
50- AbstractStaticGraphs must have the following elements:
51- - weightmx::AbstractSparseMatrix{Real}
49+ An abstract type representing a simple graph structure parameterized by integer types
50+ - `T`: the type representing the graph's vertices
51+ - `U`: the type representing the number of edges in the graph
5252"""
5353abstract type AbstractStaticGraph{T<: Integer , U<: Integer } <: AbstractSimpleGraph{T} end
5454
Original file line number Diff line number Diff line change 11"""
2- StaticDiGraph{T, U}
2+ StaticDiGraph{T, U} <: AbstractStaticGraph{T, U}
33
44A type representing a static directed graph.
55"""
Original file line number Diff line number Diff line change 11
22
33"""
4- StaticGraph{T, U}
4+ StaticGraph{T, U} <: AbstractStaticGraph{T, U}
55
66A type representing an undirected static graph.
77"""
You can’t perform that action at this time.
0 commit comments