networks: Fix tbn? to use tbf/state.

This commit is contained in:
Sergiu Ivanov 2020-10-15 00:17:15 +02:00
parent 848142aa61
commit d6bf00d617

View file

@ -1230,5 +1230,8 @@
(1 0 0)
(1 1 0)))))
;;; A TBN is a network form mapping TBFs to variables.
(define tbn? (hash/c variable? tbf?))
;;; A TBN is a network form mapping variables to tbf/state.
;;;
;;; The tbf/state must only reference variables appearing in the
;;; network. This contract does not check this condition.
(define tbn? (hash/c variable? tbf/state?))