networks: Properly export dynamics.
This commit is contained in:
parent
6d77052ed6
commit
88caecb98a
1 changed files with 3 additions and 2 deletions
|
@ -15,9 +15,10 @@
|
||||||
|
|
||||||
(provide
|
(provide
|
||||||
;; Structures
|
;; Structures
|
||||||
(struct-out dynamics)
|
|
||||||
(contract-out [struct tbf/state ([weights (hash/c variable? number?)]
|
(contract-out [struct tbf/state ([weights (hash/c variable? number?)]
|
||||||
[threshold number?])])
|
[threshold number?])]
|
||||||
|
[struct dynamics ([network network?]
|
||||||
|
[mode mode?])])
|
||||||
;; Functions
|
;; Functions
|
||||||
(contract-out [update (-> network? state? (set/c variable? #:kind 'dont-care) state?)]
|
(contract-out [update (-> network? state? (set/c variable? #:kind 'dont-care) state?)]
|
||||||
[make-state (-> (listof (cons/c symbol? any/c)) state?)]
|
[make-state (-> (listof (cons/c symbol? any/c)) state?)]
|
||||||
|
|
Loading…
Reference in a new issue