Sergiu Ivanov
245b22316e
networks: Add and use domain-mapping/c.
2020-02-23 09:12:01 +01:00
Sergiu Ivanov
bdbbae6eb6
networks: Make build-all-state take a hash as the domain mapping.
...
It used to take a list of pairs.
2020-02-23 09:09:43 +01:00
Sergiu Ivanov
9eca7bf449
Prefer for, for/list, and for/hash for iterating over hashes.
2020-02-23 08:57:50 +01:00
Sergiu Ivanov
5fd1b95d5c
networks: Fix the comments for make-state and make-network-from-functions.
2020-02-23 08:47:16 +01:00
Sergiu Ivanov
daf2e079ae
networks: Add build-signed-interaction-graph.
2020-02-23 01:00:09 +01:00
Sergiu Ivanov
251a7dcf23
networks: make-same-domain-mapping -> make-same-domains, make-boolean-domain-mapping -> make-boolean-domains
2020-02-23 00:15:18 +01:00
Sergiu Ivanov
183160da6f
networks: Add make-same-domain-mapping and make-boolean-domain-mapping.
2020-02-23 00:13:36 +01:00
Sergiu Ivanov
cf676028d3
networks, update: Don't talk about Boolean networks.
2020-02-23 00:05:04 +01:00
Sergiu Ivanov
fbef580a01
networks: Add get-interaction-sign.
2020-02-23 00:04:19 +01:00
Sergiu Ivanov
c2c87d0a7d
network: Create immutable hashes by default.
2020-02-22 23:22:43 +01:00
Sergiu Ivanov
ac8e63c5f4
networks: Make the state an immutable hash table by default.
2020-02-22 23:20:10 +01:00
Sergiu Ivanov
25a88c820a
networks: Add build-all-states-same-domain.
2020-02-22 22:41:56 +01:00
Sergiu Ivanov
da3f25922a
networks: Add build-all-states.
2020-02-22 22:31:05 +01:00
Sergiu Ivanov
8dfa11b17c
networks: Say contracts are contract?.
2020-02-22 10:37:37 +01:00
Sergiu Ivanov
038e543eff
networks: Add build-interaction-graph.
2020-02-20 15:56:48 +01:00
Sergiu Ivanov
cd714773be
lambda -> λ
2020-02-20 15:36:29 +01:00
Sergiu Ivanov
75bf044fd8
networks: Add list-interactions.
2020-02-20 15:17:32 +01:00
Sergiu Ivanov
768fa7aabc
networks: Restructure the exports slightly.
2020-02-20 14:13:48 +01:00
Sergiu Ivanov
cf19859be8
Rewrite bn without types, rename it to networks.
...
I tried generalising my code from Boolean networks to any kinds of
networks, but got tired of having to fight the type system (for now at
least). The last drop was the fact that the graph library does not
seem to have a typed version. So I decided to go with contracts
instead.
2020-02-20 00:56:30 +01:00