forked from Neronus/CL-CUDD
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.lisp
99 lines (90 loc) · 1.85 KB
/
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
;;;; package.lisp
(cl:defpackage :swig-macros
(:use :cl :cffi)
(:documentation
"Package containing utility functions for SWIG cffi interface generation")
(:export #:swig-lispify #:defanonenum))
;;; Low-level interface:
(defpackage #:cuddapi
(:use :cl :cffi :swig-macros :alexandria)
(:shadow #:pi)
(:export #:cudd-manager #:cudd-node #:cudd-bdd-not #:cudd-add-cube #:cudd-bdd-cube
#:dump-dot #:add-var #:bdd-var #:print-info #:+cudd-max-index+ #:cudd-node-is-constant
#:cudd-node-get-value #:cudd-node-get-then #:cudd-node-get-else
#:cudd-node-get-ref-count)
;; other exports done by swig
)
;;; High-level interface
(defpackage cl-cudd
(:use cl cffi swig-macros alexandria cuddapi)
(:nicknames cudd)
(:export
#:+AGREEMENT+
#:+AND+
#:+DIFF+
#:+DIVIDE+
#:+EQUALS+
#:+GREATER-THAN+
#:+GREATER-THAN-EQUALS+
#:+LESS-THAN+
#:+LESS-THAN-EQUALS+
#:+LOG-X-Y+
#:+MAXIMUM+
#:+MINIMUM+
#:+MINUS+
#:+MOD+
#:+NAND+
#:+NOR+
#:+NOT-EQUALS+
#:+ONE-ZERO-MAXIMUM+
#:+OR+
#:+PLUS+
#:+POW+
#:+SET-NZ+
#:+THRESHOLD+
#:+TIMES+
#:+XNOR+
#:+XOR+
#:*MANAGER*
#:ADD->BDD
#:ADD-APPLY
#:ADD-CONSTANT
#:ADD-NEGATE
#:ADD-NODE
#:BDD->ADD
#:BDD-NODE
#:COFACTOR
#:COUNT-LEAVES
#:COUNT-MINTERM
#:CUBE
#:DAG-SIZE
#:DISABLE-GC
#:ENABLE-GC
#:EXIST-ABSTRACT
#:UNIV-ABSTRACT
#:IF-THEN-ELSE
#:MAKE-VAR
#:MANAGER
#:MANAGER-POINTER
#:NODE
#:NODE-POINTER
#:NODE-COMPLEMENT
#:NODE-EQUAL
#:NODE-CONSTANT-P
#:NODE-VALUE
#:NODE-INDEX
#:OR-ABSTRACT
#:SWAP-VARIABLES
#:WITH-MANAGER
#:add->bdd-interval
#:add->bdd-threshold
#:add->bdd-strict-threshold
#:node-or
#:node-and
#:plus-infinity
#:minus-infinity
#:min-abstract
#:max-abstract
#:one-node
#:zero-node
#:with-nodes))