networks: Remove ppsg and ppsgb.
This commit is contained in:
parent
e8e3a71d87
commit
319b15d956
3 changed files with 9 additions and 9 deletions
|
@ -371,7 +371,7 @@ tab
|
||||||
#+BEGIN_SRC racket :results silent :var simple-bn=munch-sexp(simple-bn)
|
#+BEGIN_SRC racket :results silent :var simple-bn=munch-sexp(simple-bn)
|
||||||
(let* ([bn (network-form->network (unorgv simple-bn))]
|
(let* ([bn (network-form->network (unorgv simple-bn))]
|
||||||
[bn-asyn (make-asyn-dynamics bn)])
|
[bn-asyn (make-asyn-dynamics bn)])
|
||||||
(dotit (ppsg (build-full-boolean-state-graph bn-asyn))))
|
(dotit (pretty-print-state-graph (build-full-boolean-state-graph bn-asyn))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
||||||
|
@ -390,7 +390,7 @@ tab
|
||||||
#+BEGIN_SRC racket :results silent :var simple-bn=munch-sexp(simple-bn)
|
#+BEGIN_SRC racket :results silent :var simple-bn=munch-sexp(simple-bn)
|
||||||
(let* ([bn (network-form->network (unorgv simple-bn))]
|
(let* ([bn (network-form->network (unorgv simple-bn))]
|
||||||
[bn-asyn (make-asyn-dynamics bn)])
|
[bn-asyn (make-asyn-dynamics bn)])
|
||||||
(dotit (ppsgb (build-full-boolean-state-graph bn-asyn))))
|
(dotit (pretty-print-boolean-state-graph (build-full-boolean-state-graph bn-asyn))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
#+BEGIN_SRC dot :file dots/examplex1Irnk.svg :results raw drawer :cmd sfdp :noweb yes
|
#+BEGIN_SRC dot :file dots/examplex1Irnk.svg :results raw drawer :cmd sfdp :noweb yes
|
||||||
|
@ -418,8 +418,8 @@ tab
|
||||||
#+BEGIN_SRC racket :results silent
|
#+BEGIN_SRC racket :results silent
|
||||||
(let* ([bn (network-form->network (unorgv simple-bn))]
|
(let* ([bn (network-form->network (unorgv simple-bn))]
|
||||||
[bn-asyn (make-asyn-dynamics bn)]
|
[bn-asyn (make-asyn-dynamics bn)]
|
||||||
[s0 (stb (unorgv some-state))])
|
[s0 (booleanize-state (unorgv some-state))])
|
||||||
(dotit (ppsgb (dds-build-n-step-state-graph bn-asyn (set s0) 2))))
|
(dotit (pretty-print-boolean-state-graph (dds-build-n-step-state-graph bn-asyn (set s0) 2))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
#+BEGIN_SRC dot :file dots/examplecHA6gL.svg :results raw drawer :cmd sfdp :noweb yes
|
#+BEGIN_SRC dot :file dots/examplecHA6gL.svg :results raw drawer :cmd sfdp :noweb yes
|
||||||
|
@ -437,7 +437,7 @@ tab
|
||||||
#+BEGIN_SRC racket :results silent :var simple-bn=munch-sexp(simple-bn)
|
#+BEGIN_SRC racket :results silent :var simple-bn=munch-sexp(simple-bn)
|
||||||
(let* ([bn (network-form->network (unorgv simple-bn))]
|
(let* ([bn (network-form->network (unorgv simple-bn))]
|
||||||
[bn-asyn (make-asyn-dynamics bn)])
|
[bn-asyn (make-asyn-dynamics bn)])
|
||||||
(dotit (ppsgb (build-full-boolean-state-graph-annotated bn-asyn))))
|
(dotit (pretty-print-boolean-state-graph (build-full-boolean-state-graph-annotated bn-asyn))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
#+BEGIN_SRC dot :file dots/examplei4we6j.svg :results raw drawer :cmd sfdp :noweb yes
|
#+BEGIN_SRC dot :file dots/examplei4we6j.svg :results raw drawer :cmd sfdp :noweb yes
|
||||||
|
@ -459,7 +459,7 @@ tab
|
||||||
#+BEGIN_SRC racket :results silent :var input-bn=munch-sexp(bn2)
|
#+BEGIN_SRC racket :results silent :var input-bn=munch-sexp(bn2)
|
||||||
(let* ([bn (network-form->network (unorgv input-bn))]
|
(let* ([bn (network-form->network (unorgv input-bn))]
|
||||||
[bn-asyn (make-asyn-dynamics bn)])
|
[bn-asyn (make-asyn-dynamics bn)])
|
||||||
(dotit (ppsgb (build-full-boolean-state-graph-annotated bn-asyn))))
|
(dotit (pretty-print-boolean-state-graph (build-full-boolean-state-graph-annotated bn-asyn))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
#+BEGIN_SRC dot :file dots/examplehsuRqc.svg :results raw drawer :cmd dot :noweb yes
|
#+BEGIN_SRC dot :file dots/examplehsuRqc.svg :results raw drawer :cmd dot :noweb yes
|
||||||
|
|
|
@ -137,8 +137,8 @@
|
||||||
(make-state '((a . #f) (b . #t))))]
|
(make-state '((a . #f) (b . #t))))]
|
||||||
[gr1 (dds-build-n-step-state-graph asyn (set s) 1)]
|
[gr1 (dds-build-n-step-state-graph asyn (set s) 1)]
|
||||||
[gr-full (dds-build-state-graph asyn (set s))]
|
[gr-full (dds-build-state-graph asyn (set s))]
|
||||||
[gr-full-pp (ppsg gr-full)]
|
[gr-full-pp (pretty-print-state-graph gr-full)]
|
||||||
[gr-full-ppb (ppsgb gr-full)]
|
[gr-full-ppb (pretty-print-boolean-state-graph gr-full)]
|
||||||
[gr-complete-bool (build-full-boolean-state-graph asyn)]
|
[gr-complete-bool (build-full-boolean-state-graph asyn)]
|
||||||
[gr-complete-bool-ann (build-full-boolean-state-graph-annotated asyn)])
|
[gr-complete-bool-ann (build-full-boolean-state-graph-annotated asyn)])
|
||||||
(check-equal? (dds-step-one asyn s) (set (make-state '((a . #f) (b . #f)))
|
(check-equal? (dds-step-one asyn s) (set (make-state '((a . #f) (b . #f)))
|
||||||
|
|
|
@ -97,7 +97,7 @@
|
||||||
[update-function/c contract?]
|
[update-function/c contract?]
|
||||||
[domain-mapping/c contract?])
|
[domain-mapping/c contract?])
|
||||||
;; Syntax
|
;; Syntax
|
||||||
ppsg ppsgb unorg-syn unorg-asyn)
|
unorg-syn unorg-asyn)
|
||||||
|
|
||||||
|
|
||||||
;;; =================
|
;;; =================
|
||||||
|
|
Loading…
Reference in a new issue