-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.lisp
64 lines (46 loc) · 858 Bytes
/
package.lisp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
(defpackage :digraph
(:use :cl :digraph.quickutils)
(:export
:digraph
:make-digraph
:emptyp
:vertices
:edges
:arbitrary-vertex
:roots
:leafs
:rootp
:leafp
:predecessors
:successors
:neighbors
:contains-vertex-p
:contains-edge-p
:insert-vertex
:insert-edge
:remove-edge
:remove-vertex
:degree
:degree-in
:degree-out
:count-vertices
:count-edges
:mapc-vertices
:mapc-edges
:map-vertices
:map-edges
:map-depth-first
:map-breadth-first
:mapc-depth-first
:mapc-breadth-first
:topological-sort
:reachablep
:copy-digraph
:build-from-roots
:build-from-leafs
:digraph-error
:missing-vertex
:missing-predecessor
:missing-successor
:topological-sort-cycle
:vertex-involved))