rs: Explain why we need to print the whole context sequence.
This commit is contained in:
parent
227dfff14a
commit
fcb4474858
1 changed files with 4 additions and 2 deletions
6
rs.rkt
6
rs.rkt
|
@ -173,8 +173,10 @@
|
|||
(dds-build-state-graph-annotated (dynamics rs)
|
||||
(set (state (set) contexts))))
|
||||
|
||||
;;; Pretty-prints the context and the current result of a state of the
|
||||
;;; reaction system.
|
||||
;;; Pretty-prints the context sequence and the current result of a
|
||||
;;; state of the reaction system. Note that we need to keep the full
|
||||
;;; context sequence in the name of each state to avoid confusion
|
||||
;;; between the states at different steps of the evolution.
|
||||
(define/match (pretty-print-state st)
|
||||
[((state res ctx))
|
||||
(format "C:~a\nD:{~a}" (pretty-print-set-sets ctx) (pretty-print-set res))])
|
||||
|
|
Loading…
Reference in a new issue