networks: Remove a custom definition of dds-step-one.
This method now falls back to dds-step-one-annotated.
This commit is contained in:
parent
736f210c41
commit
ac7ce12a9d
1 changed files with 1 additions and 5 deletions
|
@ -302,11 +302,7 @@
|
||||||
;;; A network dynamics is a network plus a mode.
|
;;; A network dynamics is a network plus a mode.
|
||||||
(struct dynamics (network mode)
|
(struct dynamics (network mode)
|
||||||
#:methods gen:dds
|
#:methods gen:dds
|
||||||
[(define/match (dds-step-one dyn s)
|
[;; Annotates each result state with the modality which lead to it.
|
||||||
[((dynamics network mode) s)
|
|
||||||
(for/set ([m mode]) (update network s m))])
|
|
||||||
|
|
||||||
;; Annotates each result state with the modality which lead to it.
|
|
||||||
(define/match (dds-step-one-annotated dyn s)
|
(define/match (dds-step-one-annotated dyn s)
|
||||||
[((dynamics network mode) s)
|
[((dynamics network mode) s)
|
||||||
(for/set ([m mode]) (cons m (update network s m)))])])
|
(for/set ([m mode]) (cons m (update network s m)))])])
|
||||||
|
|
Loading…
Reference in a new issue