Commit graph

239 commits

Author SHA1 Message Date
Sergiu Ivanov
319b15d956 networks: Remove ppsg and ppsgb. 2020-03-25 23:15:37 +01:00
Sergiu Ivanov
e8e3a71d87 networks: Remove nn. 2020-03-25 23:05:28 +01:00
Sergiu Ivanov
dfb882d891 networks: Remove st and stb. 2020-03-25 00:31:23 +01:00
Sergiu Ivanov
086f4c4949 utils: Add unorg. 2020-03-25 00:19:28 +01:00
Sergiu Ivanov
a8a981098f utils: unorg -> unorgv 2020-03-25 00:16:29 +01:00
Sergiu Ivanov
62ae1e3af1 utils: Convert dotit and unorg to functions. 2020-03-25 00:03:26 +01:00
Sergiu Ivanov
c4af42a2f6 example: Update a call to build-boolean-signed-interaction-graph. 2020-03-24 23:59:11 +01:00
Sergiu Ivanov
8bc2a582a6 utils: Remove sgfy. 2020-03-24 23:47:20 +01:00
Sergiu Ivanov
87dc89ee6f rs: Actually remove the macros. 2020-03-24 23:38:07 +01:00
Sergiu Ivanov
14688a9bae rs: Remove macros, update example. 2020-03-24 23:22:20 +01:00
Sergiu Ivanov
4c6f3af2a9 rs: Add read-org-rs and define unorg-rs as a synonym for it. 2020-03-24 21:31:01 +01:00
Sergiu Ivanov
7f214266d0 rs: Don't use unorg macros internally. 2020-03-24 21:20:08 +01:00
Sergiu Ivanov
502fcb18bb utils: Simplify read-org-variable-mapping. 2020-03-24 21:17:05 +01:00
Sergiu Ivanov
ac8c999272 networks: Add table->network. 2020-03-24 00:18:39 +01:00
Sergiu Ivanov
f1514fffe3 utils: Add lists-transpose. 2020-03-23 22:47:52 +01:00
Sergiu Ivanov
df042493d9 utils: Add multi-split-at. 2020-03-23 22:32:39 +01:00
Sergiu Ivanov
9961dc7c8b networks: Add "and networks" to "Constructing functions". 2020-03-23 22:31:58 +01:00
Sergiu Ivanov
ac2d03f953 Add some tests for building signed interaction graphs from networks.
Previously I only had functions for building interaction graphs from
forms.  These do not play well with networks randomly generated from
truth tables.
2020-03-22 21:08:45 +01:00
Sergiu Ivanov
b79bae9d67 example: Update the randomly generated network. 2020-03-22 21:03:20 +01:00
Sergiu Ivanov
27fa176d0f utils: Make read-org-variable-mapping return an immutable hash. 2020-03-22 21:01:51 +01:00
Sergiu Ivanov
b0eb81b051 networks: Add build-signed-interaction-graph and build-boolean-signed-interaction-graph.
No tests yet.
2020-03-22 21:00:12 +01:00
Sergiu Ivanov
a77d42af85 networks: Functions for interaction graph explicitly say they use forms. 2020-03-22 20:45:11 +01:00
Sergiu Ivanov
65445e6ba8 networks: Make get-interaction-sign take a network, not a form. 2020-03-22 20:43:14 +01:00
Sergiu Ivanov
b38bebb67b example: Add some examples for random functions and networks. 2020-03-22 20:38:32 +01:00
Sergiu Ivanov
5330336b6d networks: Use '+ and '- as labels in the signed interaction graph. 2020-03-22 20:26:04 +01:00
Sergiu Ivanov
e7b35a451c Add the example on tabulating Boolean networks. 2020-03-22 20:22:23 +01:00
Sergiu Ivanov
32d117a155 example: Network functions -> Tabulating functions and networks. 2020-03-22 19:36:07 +01:00
Sergiu Ivanov
401f895dd2 networks: Make build-all-states order the variables. 2020-03-22 19:34:08 +01:00
Sergiu Ivanov
cd11bcc330 networks: Export and test the functions for generation of random networks. 2020-03-22 19:28:44 +01:00
Sergiu Ivanov
c823001492 networks: Add tabulate-network and tabulate-boolean-network. 2020-03-22 19:22:54 +01:00
Sergiu Ivanov
5fd16e4465 networks: Add random-network, random-boolean-network, random-boolean-networks/vars. 2020-03-22 18:40:50 +01:00
Sergiu Ivanov
75b19c7977 networks: Make sectioning more fine-grained. 2020-03-22 14:40:23 +01:00
Sergiu Ivanov
aa7ba6de8a network-test: Fix some indentation. 2020-03-22 14:36:02 +01:00
Sergiu Ivanov
a40106e47c networks: Add random-function/state and random-boolean-function/state. 2020-03-22 14:35:26 +01:00
Sergiu Ivanov
5358f9bf57 networks: Add tabulate-state and tabulate-state/boolean. 2020-03-22 14:34:40 +01:00
Sergiu Ivanov
f0ac9223e4 utils: Don't forget hash->list/ordered (the tests were broken). 2020-03-21 19:23:30 +01:00
Sergiu Ivanov
9113a788a9 networks: Make network? more precise.
Require that the hash table maps variables to procedures, instead of
requiring nothing of the values of the hash table.
2020-03-21 19:19:23 +01:00
Sergiu Ivanov
9682049df5 networks: Remove network/c.
I've never used it.
2020-03-21 19:18:45 +01:00
Sergiu Ivanov
8505d2d590 utils: Add hash->list/ordered. 2020-03-21 19:16:24 +01:00
Sergiu Ivanov
a55b671248 networks: Make the contracts on functions dealing with Boolean tables more precise. 2020-03-20 22:29:33 +01:00
Sergiu Ivanov
bba2dfad12 networks: Split the randomness functions into their own section. 2020-03-20 22:22:33 +01:00
Sergiu Ivanov
6c75a073c0 networks: Add random-boolean-table, random-boolean-function, random-boolean-function/list. 2020-03-20 22:15:29 +01:00
Sergiu Ivanov
435ee34acb utils: Refactor update-graph.
Make update-graph follow a little bit more the guidelines here:
https://docs.racket-lang.org/style/Choosing_the_Right_Construct.html
2020-03-20 21:42:10 +01:00
Sergiu Ivanov
519f3759ea networks,enumerate-boolean-tables: Use boolean-power/stream. 2020-03-20 16:43:14 +01:00
Sergiu Ivanov
59d5b040f4 networks: Remove n from boolean-power-n and boolean-power-n/stream. 2020-03-20 16:41:26 +01:00
Sergiu Ivanov
e89163d044 networks: Add boolean-power-n/stream. 2020-03-20 16:40:15 +01:00
Sergiu Ivanov
36c26d2a1f networks: Export and test boolean-power-n. 2020-03-20 16:38:32 +01:00
Sergiu Ivanov
34fbc516e2 utils: Add cartesian-product/stream. 2020-03-20 16:07:34 +01:00
Sergiu Ivanov
9502a9e981 utils: Add in-random. 2020-03-20 01:19:14 +01:00
Sergiu Ivanov
f09f24d2dd networks: Use streams for enumerating Boolean functions. 2020-03-20 00:15:51 +01:00