Define Mode and Modality as lists instead of sets.
This commit is contained in:
parent
b0c084af37
commit
279ee68b91
2 changed files with 4 additions and 4 deletions
|
@ -510,8 +510,8 @@
|
|||
(check-equal? (graphviz (build-signed-interaction-graph/form n2))
|
||||
"digraph G {\n\tnode0 [label=\"y\"];\n\tnode1 [label=\"t\"];\n\tnode2 [label=\"z\"];\n\tnode3 [label=\"x\"];\n\tsubgraph U {\n\t\tedge [dir=none];\n\t\tnode0 -> node0 [label=\"1\"];\n\t}\n\tsubgraph D {\n\t\tnode0 -> node1 [label=\"0\"];\n\t\tnode0 -> node2 [label=\"-1\"];\n\t\tnode0 -> node3 [label=\"1\"];\n\t}\n}\n")])))
|
||||
|
||||
(define-type Modality (Setof Variable))
|
||||
(define-type Mode (Setof Modality))
|
||||
(define-type Modality (Listof Variable))
|
||||
(define-type Mode (Listof Modality))
|
||||
)
|
||||
|
||||
(require 'typed)
|
||||
|
|
|
@ -365,14 +365,14 @@ values represented as 0 and 1.
|
|||
|
||||
@deftype[Modality]{
|
||||
|
||||
A modality is a set of variables. This is a synonym of @racket[(Setof
|
||||
A modality is a list of variables. This is a synonym of @racket[(Listof
|
||||
Variable)].
|
||||
|
||||
}
|
||||
|
||||
@deftype[Mode]{
|
||||
|
||||
A mode is a set of modalities. This is a synonym of @racket[(Setof Modality)].
|
||||
A mode is a list of modalities. This is a synonym of @racket[(Listof Modality)].
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue