button ~master (2018-11-15T00:26:20Z)
Dub
Repo
Graph.Edges
button
graph
Graph
Undocumented in source.
class
Graph
(A, B, EdgeDataAB = size_t, EdgeDataBA = size_t)
static
struct
Edges (
From
To
) {
import
button
.
edge
;
;
alias
Neighbors
=
EdgeData
!(
From
,
To
)[
To
][
From
]
;
alias
E
=
Edge
!(
From
,
To
,
EdgeData
!(
From
,
To
))
;
this
(const(Neighbors) neighbors);
int
opApply
(int delegate(E) dg);
}
Constructors
this
this
(const(Neighbors) neighbors)
Undocumented in source.
Members
Aliases
E
alias
E
=
Edge
!(
From
,
To
,
EdgeData
!(
From
,
To
))
Undocumented in source.
Neighbors
alias
Neighbors
=
EdgeData
!(
From
,
To
)[
To
][
From
]
Undocumented in source.
Functions
opApply
int
opApply
(int delegate(E) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
button
graph
Graph
aliases
EdgeData
Opposite
classes
Data
enums
isEdge
isVertex
functions
data
degreeIn
degreeOut
diffEdges
diffVertices
edges
outgoing
put
remove
subgraph
traverse
properties
cycles
empty
length
tarjan
vertices
structs
Edges
SCC
Visited