manual: Add Matrix-Graph.

This commit is contained in:
Sergiu Ivanov 2022-01-01 17:59:49 +01:00
parent bbe6c479b3
commit c6f1a156a6
1 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,7 @@
require/typed require/typed/provide
Any Boolean Void Sequenceof Listof List U False
Mutable-HashTable Immutable-HashTable))
(for-label (only-in graph (matrix-graph? g:matrix-graph?)))
(for-label typed/graph))
@title{Typed Interface for the Generic Graph Library}
@ -65,6 +66,12 @@ The type wrapping the kinds of graphs the generic graph library deals with.
}
@defidform[Matrix-Graph]{
The opaque type corresponding to the predicate @racketlink[g:matrix-graph? "matrix-graph?"].
}
@subsection{Generic Graph Interface}
@defproc[(has-vertex? [g Graph] [v Any]) Boolean]{}
@defproc[(has-edge? [g Graph] [u Any] [v Any]) Boolean]{}