|
|
@ -88,6 +88,19 @@ The opaque type corresponding to the predicate @racketlink[g:graph? "graph?"]. |
|
|
|
@defproc[(graph-copy [g Graph]) Graph]{} |
|
|
|
@defproc[(graph-union! [g Graph] [other Graph]) Void]{} |
|
|
|
|
|
|
|
@subsection{Graph Constructors} |
|
|
|
@defproc[(unweighted-graph? [g Graph]) Boolean]{} |
|
|
|
@defproc[(unweighted-graph/undirected [edges (Listof (List Any Any))]) Graph]{} |
|
|
|
@defproc[(unweighted-graph/directed [edges (Listof (List Any Any))]) Graph]{} |
|
|
|
@defproc[(unweighted-graph/adj [edges (Listof (Listof Any))]) Graph]{} |
|
|
|
|
|
|
|
@defproc[(weighted-graph? [g Graph]) Boolean]{} |
|
|
|
@defproc[(weighted-graph/undirected [edges (Listof (List Any Any Any))]) Graph]{} |
|
|
|
@defproc[(weighted-graph/directed [edges (Listof (List Any Any Any))]) Graph]{} |
|
|
|
@defproc[(undirected-graph [edges (Listof (List Any Any))] [wgts (Listof Any) #f]) Graph]{} |
|
|
|
@defproc[(directed-graph [edges (Listof (List Any Any))] [wgts (Listof Any) #f]) Graph]{} |
|
|
|
|
|
|
|
@defproc[(matrix-graph? [g Graph]) Boolean]{} |
|
|
|
|
|
|
|
@section{License} |
|
|
|
|
|
|
|