networks: Properly export dynamics.

This commit is contained in:
Sergiu Ivanov 2020-11-12 01:07:41 +01:00
parent 6d77052ed6
commit 88caecb98a

View file

@ -15,9 +15,10 @@
(provide
;; Structures
(struct-out dynamics)
(contract-out [struct tbf/state ([weights (hash/c variable? number?)]
[threshold number?])])
[threshold number?])]
[struct dynamics ([network network?]
[mode mode?])])
;; Functions
(contract-out [update (-> network? state? (set/c variable? #:kind 'dont-care) state?)]
[make-state (-> (listof (cons/c symbol? any/c)) state?)]