Commit graph

240 commits

Author SHA1 Message Date
robbe
fd6c8b4277 Added some documentation, fixed test and missing schedule 2025-06-30 18:03:24 +02:00
robbe
ebfd85a666 A fully working version of the scheduling language with added examples 2025-06-27 12:21:41 +02:00
robbe
ec42f74960 Added an eval_context_decorator to allow user defined functions in rules 2025-06-27 12:20:00 +02:00
robbe
e4ea9a0410 Added ';' required after a global constraint for concistency 2025-06-27 12:17:27 +02:00
robbe
58366fa9bb add Action code to the cd parser. 2025-06-27 12:17:10 +02:00
robbe
9eea3618d0 cleanup the od api interface 2025-06-27 12:15:19 +02:00
robbe
04a17f6ac8 has_slot(obj) now works on instance ipv class. Useful for optional field 2025-04-24 13:07:32 +02:00
robbe
8ee9fba4ea petrinet example fixed 2025-04-24 12:33:38 +02:00
robbe
756b3f30da get_slots and is_instance added to readonly api + is_instance implementation 2025-04-24 12:27:28 +02:00
robbe
5e5865d0d5 base_case of len == 0 added (same as Interactive decisionMaker) 2025-04-24 12:25:44 +02:00
robbe
bad9e8e32a removed unused variable 2025-04-24 12:24:51 +02:00
robbe
87fc7362db Scheduler petrinet example 2025-04-24 12:23:29 +02:00
robbe
2c64ebda67 Scheduler first commit 2025-04-24 12:23:07 +02:00
70c53a9aef rename branch 2025-02-05 10:43:15 +01:00
7f5c2f39fc update readme 2025-01-27 17:07:53 +01:00
1d03337a61 update readme 2025-01-27 16:53:39 +01:00
200f2a3ede add jinja2-based renderer for object diagrams 2024-12-17 15:32:24 +01:00
26d8655147 add Jinja2-based tapaal exporter 2024-12-17 14:30:24 +01:00
6aa5302e36 rewriter: extra check to see if produced names are valid (meaning: serializable/parseable) 2024-12-12 13:27:24 +01:00
7914f01006 make sure no one deletes elements that were matched in the RHS with a RHS-condition... 2024-12-11 21:14:22 +01:00
6314506ac0 parser prints line numbers AND gives an error if you use anonymous objects/links in LHS of a rule 2024-12-11 20:32:55 +01:00
c7288635f8 fix runner_exec_pn 2024-12-11 11:33:04 +01:00
9e74075066 can call custom functions from condition code while pattern matching / rewriting + added example to runner_translate.py 2024-12-10 12:28:49 +01:00
fd8bc3bc40 improve (Port + Petri Net + traceability)-renderer 2024-12-09 17:43:01 +01:00
bd1588d809 forgot to remove debug output 2024-12-09 17:23:07 +01:00
3ddfc96532 add renderer for Port + Petri Net + traceability 2024-12-09 17:09:43 +01:00
e4c12b7349 let's not spam the console output too much 2024-12-09 13:05:18 +01:00
bef233a854 Petri net: forgot to render inhibitor arcs (thanks Jason) 2024-12-09 11:49:56 +01:00
da5856b33b Merge branch 'optimize-matcher' (not yet seeing the performance enhancement i was hoping for...) 2024-12-09 11:49:01 +01:00
abe9b5705c 3-6x faster matching! 2024-12-04 16:34:06 +01:00
54845b2a4a forgot to include WorkerSet in Port-model 2024-12-04 15:50:56 +01:00
838bb18630 extend concrete syntax: edge can be defined as (src -> tgt) OR (tgt <- src) 2024-12-04 15:49:02 +01:00
5c3026d1f6 mention which model is non-conform 2024-12-04 15:48:18 +01:00
77ea19fcd6 fix bug in rewriter when deleting elements 2024-12-04 15:29:56 +01:00
503d4b828a add simpler Port models for testing petri net translation 2024-12-04 13:18:27 +01:00
f77ae21e70 Finish starting point for assignment 6 2024-12-03 23:49:25 +01:00
7391d7d9a6 add files for assignment 6 2024-12-03 23:26:40 +01:00
6571d8556c petri net formalism: add inhibitor arc 2024-12-03 23:25:10 +01:00
da4f1718ce RAMification adds 'name' attribute, giving control over the names of created objects 2024-12-03 20:28:16 +01:00
7c01b126c2 parser: a comment does not need to include a newline character 2024-12-03 19:31:21 +01:00
5633bf17a9 i seem to have made some changes to the petrinet formalism 2024-12-03 17:58:49 +01:00
9883e09ac2 merging (meta-)models works (but it's dirty!) 2024-12-03 17:58:03 +01:00
c31c8bf3ea and now it's even better 2024-12-02 15:44:15 +01:00
d14d72b8e7 use precomputed mappings for get_name-function in ODAPI (faster) 2024-12-02 15:37:07 +01:00
fd91372759 fix bug in matcher 2024-11-25 14:33:33 +01:00
35c68e0c80 prioritize rare types when matching pattern -> host - no performance improvement so far 2024-11-25 13:50:41 +01:00
b6a654580c profile cumulative time for all NACs 2024-11-25 13:48:57 +01:00
38e120e6c8 improve profiler 2024-11-25 13:46:01 +01:00
ac6334eb84 make it a bit clearer where an exception was thrown 2024-11-25 13:36:26 +01:00
a91c7d2bdd loader can also load without checking conformance 2024-11-22 16:25:27 +01:00