Sergiu Ivanov
aa278215ed
Make networks fully Typed Racket, throwing away the TBN/SBN part.
2023-03-26 22:53:27 +02:00
Sergiu Ivanov
507f7a28f7
Move TBN/SBN-related code out to tbn.rkt.
2023-03-26 22:53:12 +02:00
Sergiu Ivanov
e6764b2dd6
Type random-boolean-network/n.
2023-03-26 22:34:45 +02:00
Sergiu Ivanov
861665e205
Type random-boolean-network.
2023-03-25 16:29:33 +01:00
Sergiu Ivanov
5e155d0a61
Type random-network.
2023-03-24 16:20:23 +01:00
Sergiu Ivanov
e2e0ee6903
Only set random-seed once in the whole test submodule.
2023-03-24 16:09:44 +01:00
Sergiu Ivanov
59b90d4c12
Add random-boolean-function/state.
2023-03-24 15:12:22 +01:00
Sergiu Ivanov
f5349a3659
Add random-function/state.
2023-03-24 14:43:59 +01:00
Sergiu Ivanov
78c638a886
Add typed-racket-more to package dependencies.
...
For typed/racket/random.
2023-03-24 14:39:49 +01:00
Sergiu Ivanov
abf8d4cf92
Add table+headers->network.
2023-03-23 16:16:02 +01:00
Sergiu Ivanov
d3907556ba
Add table->network.
2023-03-17 23:36:50 +01:00
Sergiu Ivanov
a6321c932a
table->network → table+vars->network
2023-03-17 23:35:33 +01:00
Sergiu Ivanov
9175a98a2a
Add hash-replace-keys/ordered.
2023-03-12 21:15:51 +01:00
Sergiu Ivanov
1490792a19
Add table->network.
2023-03-10 23:52:39 +01:00
Sergiu Ivanov
6783b97add
Use table->unary-function in table->function/list.
2023-03-03 10:21:31 +01:00
Sergiu Ivanov
09c14907ca
Add table->unary-function.
2023-03-03 10:16:37 +01:00
Sergiu Ivanov
b9b224fc6a
Add tabulate-network and tabulate-network+headers.
2023-02-17 14:06:33 +01:00
Sergiu Ivanov
0e5334f5e1
Add tabulate-state, tabulate-state/boolean, tabulate-state+headers, tabulate-state+headers/boolean.
2023-02-07 00:26:02 +01:00
Sergiu Ivanov
dd23de304f
Expand the comment before Dynamics%.
2023-02-03 12:53:47 +01:00
Sergiu Ivanov
16626c70ec
Update the definition of Dynamics%.
...
define-type doesn't seem to work with Instance any more in Racket 8.7,
so predefining the type synonym DynamicsClass does not help Dynamics%
shorter. Defining DynamicsClass as a macros doesn't work either.
2023-02-03 12:50:08 +01:00
Sergiu Ivanov
53e4981845
Add tabulate-state*+headers, tabulate-state*+headers/boolean.
2022-11-11 11:52:27 +01:00
Sergiu Ivanov
da368d2574
Use define/:.
2022-11-06 23:02:10 +01:00
Sergiu Ivanov
d7d9274bc9
Add lambda/:, λ/:, and define/:.
2022-11-06 22:25:27 +01:00
Sergiu Ivanov
6dce7583ab
Fix the syntactic context.
...
https://racket.discourse.group/t/wrap-a-macro-injecting-bindings-in-another-macro/1406/2
2022-10-29 23:13:44 +02:00
Sergiu Ivanov
fabecbe0f9
Type tabulate-state*/boolean.
2022-09-28 00:44:31 +02:00
Sergiu Ivanov
3d58660e9c
Type tabulate-state*.
2022-09-27 23:12:57 +02:00
Sergiu Ivanov
b5fef760c5
Type build-full-state-graph/annotated.
2022-09-22 01:22:11 +02:00
Sergiu Ivanov
f8a03659d1
Replace /boolean with /01.
2022-09-22 01:06:16 +02:00
Sergiu Ivanov
d00056affb
Add examples for pretty-print-state-graph and pretty-print-state-graph/boolean.
2022-09-22 00:56:07 +02:00
Sergiu Ivanov
990abee3db
Add tests for pretty-print-state-graph and pretty-print-state-graph/boolean.
2022-09-22 00:38:15 +02:00
Sergiu Ivanov
47602a1785
Type build-full-state-graph.
2022-09-22 00:15:35 +02:00
Sergiu Ivanov
fb56dc6589
Add and use relax-arg-type/any.
2022-09-21 00:53:12 +02:00
Sergiu Ivanov
4c3415f0ac
Put boolean at the end of function names.
2022-09-21 00:28:52 +02:00
Sergiu Ivanov
2577d06dbc
Type pretty-print-boolean-state-graph and ppsgb.
2022-09-21 00:07:10 +02:00
Sergiu Ivanov
d5a351d6c1
Type pretty-print-state-graph and ppsg.
2022-09-20 11:48:45 +02:00
Sergiu Ivanov
d5382eacda
Type pretty-print-state-graph-with.
2022-09-20 11:40:21 +02:00
Sergiu Ivanov
b1cc242c7b
Type pretty-print-boolean-state.
2022-09-19 00:10:42 +02:00
Sergiu Ivanov
6d2034f9e5
Add pretty-print-state.
...
And start a new section in the docs.
2022-09-18 01:20:00 +02:00
Sergiu Ivanov
945626487c
Add make-asyn-dynamics and make-syn-dynamics.
2022-09-18 01:03:16 +02:00
Sergiu Ivanov
4d05b9d9ee
Fix the scope of the doc of dynamics%.
2022-09-18 00:56:09 +02:00
Sergiu Ivanov
46612dd3df
Fix the example for Dynamics%.
2022-09-17 15:36:08 +02:00
Sergiu Ivanov
d2ab44c79b
Fix Dynamics%.
...
Dynamics% used to be the type of the class, rather than the type of
its instances.
2022-09-17 00:55:33 +02:00
Sergiu Ivanov
cc121fc9e3
Type make-syn and make-asyn.
2022-09-16 17:57:15 +02:00
Sergiu Ivanov
60fd8b2a24
Add Dynamics%.
2022-09-15 20:40:07 +02:00
Sergiu Ivanov
567a721c8f
Implement build-state-graph, build-state-graph/annotated, build-state-graph*.
2022-09-15 16:55:44 +02:00
Sergiu Ivanov
857b33ad71
Refine the types of build-state-graph* and build-state-graph*/annotated.
2022-09-15 01:11:11 +02:00
Sergiu Ivanov
d7f4d2d732
Implement build-state-graph*/annotated.
2022-09-15 00:57:38 +02:00
Sergiu Ivanov
ecc57a34fc
Generalize the type of build-state-graph* and build-state-graph*/annotated.
2022-09-10 18:55:03 +02:00
Sergiu Ivanov
45410176b7
Implement step*.
2022-09-10 17:46:26 +02:00
Sergiu Ivanov
983380b063
Implement the method step.
2022-09-02 16:38:13 +02:00