Commit graph

372 commits

Author SHA1 Message Date
Sergiu Ivanov
6eb6e21979 functions: Always use named test-cases in tests. 2020-07-23 00:21:34 +02:00
Sergiu Ivanov
e370356fac networks: Add some tests for tbf/state. 2020-07-23 00:20:00 +02:00
Sergiu Ivanov
0b41cf54fc networks: Add make-tbf/state. 2020-07-23 00:19:25 +02:00
Sergiu Ivanov
91c45ada06 networks: Make tbf/state transparent. 2020-07-23 00:17:17 +02:00
Sergiu Ivanov
a4be7922d4 networks: state/tbf → tbf/state. 2020-07-23 00:11:14 +02:00
Sergiu Ivanov
c27b9fe28b networks: Move apply-tbf-to-state to the top of the section. 2020-07-23 00:06:26 +02:00
Sergiu Ivanov
3fa5b7ca89 networks: Add state/tbf-w and state/tbf-θ. 2020-07-23 00:05:34 +02:00
Sergiu Ivanov
1f33e6c38c networks: Add state/tbf. 2020-07-23 00:02:35 +02:00
Sergiu Ivanov
7710e56bb8 networks: apply-tbf/state → apply-tbf-to-state
The next commits will define tbf/state. The function to apply such a
TBF would naturally be called apply-tbf/state, and it will be quite
different from the apply-tbf-to-state, hence the renaming.
2020-07-22 23:53:20 +02:00
Sergiu Ivanov
e10b208079 networks: Add apply-tbf/state. 2020-07-22 23:46:58 +02:00
Sergiu Ivanov
3c640d2cab networks: Export tbn?. 2020-07-22 23:45:13 +02:00
Sergiu Ivanov
5c0bb0ddbb networks: Add tbn?. 2020-07-21 00:13:56 +02:00
Sergiu Ivanov
63029af82f example: Add Passing values between code blocks. 2020-07-20 23:57:16 +02:00
Sergiu Ivanov
0ac14e446c example: Typo. 2020-07-20 18:05:03 +02:00
Sergiu Ivanov
e0329e2519 example: Add some text about SBFs. 2020-07-15 00:01:43 +02:00
Sergiu Ivanov
17ffa3eb81 functions: Add read-org-sbfs. 2020-07-14 23:55:55 +02:00
Sergiu Ivanov
45e4feaee0 functions: read-tbfs → lists-tbfs. 2020-07-14 23:41:55 +02:00
Sergiu Ivanov
bf45cf6382 functions: Add list->sbf. 2020-07-14 23:37:38 +02:00
Sergiu Ivanov
ac0f90ce23 functions: Add sbf. 2020-07-12 23:58:55 +02:00
Sergiu Ivanov
e5d07b2f13 functions: Add sbf?. 2020-07-12 23:53:17 +02:00
Sergiu Ivanov
c7c50e7152 functions: Add tbf-tabulate*/boolean. 2020-07-12 20:48:36 +02:00
Sergiu Ivanov
b1d9b5193e example: Add the section on TBF. 2020-07-12 00:31:24 +02:00
Sergiu Ivanov
1adaf63ec1 functions: Implement tbf-tabulate using tbf-tabulate*. 2020-07-12 00:20:15 +02:00
Sergiu Ivanov
e11f20431f functions: Add tbf-tabulate*. 2020-07-12 00:18:25 +02:00
Sergiu Ivanov
3dee3163f0 Generalise the contracts of tabulate and tabulate*.
The new contracts do not require the procedures to have fixed arity.
I don't actually need the fixed arity in tabulate and tabulate*,
because these functions know the number of inputs from the length of
the list of the domains.
2020-07-11 00:53:15 +02:00
Sergiu Ivanov
47532e3905 functions: Add tbf-tabulate. 2020-07-11 00:46:58 +02:00
Sergiu Ivanov
7d825d0a83 functions: Add read-org-tbfs. 2020-07-09 01:03:24 +02:00
Sergiu Ivanov
c999b4c6ce functions: read-org-tbfs → read-tbfs. 2020-07-09 00:53:16 +02:00
Sergiu Ivanov
765ab457a6 functions: Fix in the comment of read-org-tbfs. 2020-07-09 00:45:26 +02:00
Sergiu Ivanov
b52aa188b9 functions: Add read-org-tbfs. 2020-07-09 00:45:00 +02:00
Sergiu Ivanov
dd3062652f functions: Add list->tbf. 2020-07-07 23:29:38 +02:00
Sergiu Ivanov
db42e20f1c functions: Define apply-tbf using define.
I forgot to rewrite that from define/contract when I added the out
contract to the module exports.
2020-07-07 23:25:51 +02:00
Sergiu Ivanov
dfe8766424 functions: Wrap the test for apply-tbf/boolean in test-case. 2020-07-07 23:24:34 +02:00
Sergiu Ivanov
194bb1bb10 functions: Fix the contract for tbf. 2020-07-07 22:45:19 +02:00
Sergiu Ivanov
c4ba018b5b functinos,apply-tbf and apply-tbf/boolean: Work on Boolean vectors.
These functions initially used rest arguments, but it's actually quite
impractical.
2020-07-07 21:41:45 +02:00
Sergiu Ivanov
2ed5f84338 functions: Add apply-tbf and apply-tbf/boolean. 2020-06-11 00:27:11 +02:00
Sergiu Ivanov
dc3a0072a2 functions: Add vector-boolean->01. 2020-06-10 23:51:01 +02:00
Sergiu Ivanov
45f4984f4c functions: Add tabulate/01 and tabulate*/01. 2020-06-10 23:25:39 +02:00
Sergiu Ivanov
512de1a963 functions,tabulate*/boolean: Make the output contract more exact. 2020-06-10 23:03:25 +02:00
Sergiu Ivanov
6e5a7fa845 functions: Make all tabulate functions take procedures of fixed arity. 2020-06-09 20:06:36 +02:00
Sergiu Ivanov
180810a2aa utils: 0-1 -> 01
Shorter and easier to type.
2020-06-06 08:23:55 +02:00
Sergiu Ivanov
8e6002040a utils: Add 0-1->boolean. 2020-06-05 00:03:46 +02:00
Sergiu Ivanov
83dd673df9 utils: any->boolean -> any->0-1. 2020-06-04 23:47:10 +02:00
Sergiu Ivanov
458868ea21 any->boolean: Move from networks to utils. 2020-06-03 23:42:47 +02:00
Sergiu Ivanov
e237e9e019 functions: Add tbf. 2020-06-03 22:51:06 +02:00
Sergiu Ivanov
6247f28958 networks,tabulate-network: Fix the case of an identifier. 2020-06-02 23:37:28 +02:00
Sergiu Ivanov
7f58bf5623 networks: Rewrite tabulate-network to use tabulate-state*/boolean. 2020-06-02 23:34:19 +02:00
Sergiu Ivanov
9a1477ad42 networks: Fix the test for tabulate-state*/boolean. 2020-06-02 23:33:34 +02:00
Sergiu Ivanov
f812165b39 networks,tabulate-state*,tabulate-state*/boolean: Move the contracts to provide. 2020-06-02 21:53:53 +02:00
Sergiu Ivanov
a34b08e477 networks: Rewrite tabulate-state to use tabulate-state*. 2020-06-02 21:29:00 +02:00