bn: Remove some extra module code at the bottom.
This commit is contained in:
parent
58e40e44ad
commit
6ef7483bd2
1 changed files with 0 additions and 6 deletions
6
bn.rkt
6
bn.rkt
|
@ -85,9 +85,3 @@
|
||||||
(: make-bn-forms (-> (Listof (Pairof Variable UpdateFuncForm)) Network))
|
(: make-bn-forms (-> (Listof (Pairof Variable UpdateFuncForm)) Network))
|
||||||
(define (make-bn-forms forms)
|
(define (make-bn-forms forms)
|
||||||
(bn-form->bn (make-hash forms)))
|
(bn-form->bn (make-hash forms)))
|
||||||
|
|
||||||
(let ([bn (make-bn-forms '((a . (and a b))
|
|
||||||
(b . (not b))))]
|
|
||||||
[s (make-state '((a . #t)
|
|
||||||
(b . #t)))])
|
|
||||||
((hash-ref bn 'a) s))
|
|
||||||
|
|
Loading…
Reference in a new issue