button ~master (2018-11-15T00:26:20Z)
Dub
Repo
Graph.put
button
graph
Graph
Adds a vertex if it does not already exist.
void
put
(Vertex v)
class
Graph
(A, B, EdgeDataAB = size_t, EdgeDataBA = size_t)
pure
void
put
(
Vertex
)
(
Vertex
v
)
if
(
isVertex
!
Vertex
)
if
(
!
is
(
A
==
B
)
)
void
put
(A from, B to, EdgeDataAB data)
void
put
(B from, A to, EdgeDataBA data)
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
Adds a vertex if it does not already exist.