manual: Add the types from Graph Constructors.

This commit is contained in:
Sergiu Ivanov 2022-01-01 16:55:25 +01:00
parent 5bb17b4c28
commit f572d72625

View file

@ -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}