Sergiu Ivanov
a3f5d4d2ba
networks, pretty-print-state-graph-with: Use pretty-print-set for edges.
2020-03-01 15:20:44 +01:00
Sergiu Ivanov
3f24a5be8b
utils: Add pretty-print-set.
2020-03-01 15:15:52 +01:00
Sergiu Ivanov
1e524f167c
utils: Add update-graph.
2020-02-29 17:21:56 +01:00
Sergiu Ivanov
6e5c73bcb2
networks: Add build-full-boolean-state-graph-annotated.
2020-02-28 21:56:42 +01:00
Sergiu Ivanov
2ece2e76ee
networks: Re-export dds-build-state-graph-annotated and dds-build-n-step-state-graph-annotated.
2020-02-28 21:46:25 +01:00
Sergiu Ivanov
160713b56b
generic: Add dds-build-state-graph-annotated and dds-build-n-step-state-graph-annotated.
2020-02-28 21:45:54 +01:00
Sergiu Ivanov
601e8ed8b3
generic: Generalise fallback-dds-build-state-graph to work with annotations.
...
This function is now called fallback-dds-build-state-graph-edges and
it is parameterised by a function which produces the next states with
annotations (like dds-one-step-annotated). The functions
dds-build-state-graph and dds-build-n-step-state-graph now fall back
to calling fallback-dds-build-state-graph-edges, passing it the
function dummy-annotated-dds-step-one to add a 'dummy annotation to
each new state produced.
2020-02-28 21:39:02 +01:00
Sergiu Ivanov
fd290a049e
networks: Make the pretty printing procedures sort the keys.
2020-02-26 21:27:02 +01:00
Sergiu Ivanov
e3a04cb765
example.org: Add examples of state graphs.
2020-02-26 21:17:11 +01:00
Sergiu Ivanov
5f4cb917bc
networks-tests: Fix the usage of stb.
2020-02-26 21:05:06 +01:00
Sergiu Ivanov
63b676b1ba
networks: Remove an extra call to booleanize-state.
2020-02-26 21:02:44 +01:00
Sergiu Ivanov
b53639839f
networks: Add booleanize-state and make stb a shortcut for it.
2020-02-26 20:47:38 +01:00
Sergiu Ivanov
2022e0187b
networks: Add make-state-booleanize and stb.
2020-02-26 15:51:25 +01:00
Sergiu Ivanov
018e3c6976
utils: Generalise unstringify-pairs.
2020-02-26 15:51:00 +01:00
Sergiu Ivanov
83a87acfc5
utils: Generalise unstringify-pairs.
2020-02-23 21:29:00 +01:00
Sergiu Ivanov
9e0db04035
networks: Make nn a shortcut form network-form->network.
...
It used to be for make-network-from-forms, but nn is more practical in
my Org-mode setup as of now.
2020-02-23 20:28:11 +01:00
Sergiu Ivanov
b0acbadadd
networks: Add build-all-boolean-states and build-full-boolean-state-graph.
2020-02-23 20:13:37 +01:00
Sergiu Ivanov
f88bc0d01b
networks: Add further infrastructure for pretty-printing networks.
2020-02-23 19:44:55 +01:00
Sergiu Ivanov
3a873ab256
networks: Add pretty-print-state.
2020-02-23 19:24:53 +01:00
Sergiu Ivanov
4063a21bce
utils: Add update-vertices/unweighted.
2020-02-23 19:17:16 +01:00
Sergiu Ivanov
39575f39c2
generic: Add dds-build-state-graph and dds-build-n-step-state-graph.
...
Also provide a common fallback implementation.
2020-02-23 18:51:57 +01:00
Sergiu Ivanov
ef76e143f2
network-tests: Factor out a convenient set of states.
2020-02-23 15:09:02 +01:00
Sergiu Ivanov
a26ce5aebc
generic: Say which methods have no fallback.
2020-02-23 15:05:06 +01:00
Sergiu Ivanov
e7eb1fb09e
networks: Implement dds-step-one-annotated.
2020-02-23 14:11:55 +01:00
Sergiu Ivanov
afb97eae7c
generic: Add dds-step-one-annotated.
2020-02-23 14:11:38 +01:00
Sergiu Ivanov
5969595bed
networks: Add and use modality?
2020-02-23 13:53:02 +01:00
Sergiu Ivanov
95d248c548
networks, generic: Make all set/c arguments 'dont-care.
2020-02-23 13:38:18 +01:00
Sergiu Ivanov
fea113c1dd
generic: Fix fallback-dds-step.
2020-02-23 13:36:49 +01:00
Sergiu Ivanov
8c92a4bbd8
networks, generic: Add dds-step.
2020-02-23 13:29:09 +01:00
Sergiu Ivanov
598904fecd
networks: Fix an extra newline in provides.
2020-02-23 12:27:59 +01:00
Sergiu Ivanov
5907edfef0
dds-step -> dds-step-one
2020-02-23 12:23:55 +01:00
Sergiu Ivanov
c79c23ada3
generic: Fix the order of parameters in the comment for dds-step.
2020-02-23 12:21:08 +01:00
Sergiu Ivanov
5d5d0347e8
networks: Make dynamics inherit from dds and implement dds-step.
2020-02-23 12:19:47 +01:00
Sergiu Ivanov
9e818ad2bf
generic: Add.
2020-02-23 12:19:37 +01:00
Sergiu Ivanov
f9191287e1
networks: Make update accept any kind of sets of variables.
2020-02-23 12:10:27 +01:00
Sergiu Ivanov
cbf949ba5a
network: Use domain-mapping/c in the contract of make-same-domains.
2020-02-23 11:51:59 +01:00
Sergiu Ivanov
dedfddfe55
networks: Add make-dynamics-from-func, make-asyn-dynamics, make-syn-dynamics.
2020-02-23 11:42:01 +01:00
Sergiu Ivanov
c9cbb1c951
networks: Add make-syn and make-asyn.
2020-02-23 11:25:19 +01:00
Sergiu Ivanov
2fa89f05b9
networks: Start section Dynamics of networks.
2020-02-23 11:10:35 +01:00
Sergiu Ivanov
9f4fae1437
example.org: Illustrate signed interaction graphs.
2020-02-23 10:14:32 +01:00
Sergiu Ivanov
2d0e688425
networks: Add build-boolean-signed-interaction-graph.
2020-02-23 10:00:48 +01:00
Sergiu Ivanov
b04d897c67
Remove extra comments at the end of networks.
2020-02-23 09:26:07 +01:00
Sergiu Ivanov
04bc619b7d
network-tests: Compare hash tables directly.
...
These comparisons wouldn't work before because I was using mutable
hashes.
2020-02-23 09:25:08 +01:00
Sergiu Ivanov
4a6888ddde
networks: Rewrite update for immutable hashes.
2020-02-23 09:19:45 +01:00
Sergiu Ivanov
1492c33e1a
networks: Remove build-all-states-same-domain.
...
This is function is not really necessary, since I have
make-same-domains.
2020-02-23 09:13:03 +01:00
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
5a27469dce
utils: Slightly streamline extract-symbols with match.
2020-02-23 09:00:54 +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