Commit graph

272 commits

Author SHA1 Message Date
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
4fe7e19714 add profiler to give performance insights, seems like matching is usually the bottleneck 2024-11-22 16:25:08 +01:00
5962a476c0 rename types in Petri Net formalism to prevent naming collisions when merging with 'Port' formalism 2024-11-22 15:20:16 +01:00
6ac8e30747 fix bug in simulator: termination condition was not checked when disabling conformance checking 2024-11-22 15:06:17 +01:00
ffc07fd83c implement 'topification': adding an abstract 'Top'-class to a class diagram, and making all classes inherit from it 2024-11-22 13:36:45 +01:00
daa50d8c82 also render petri net as object diagram 2024-11-21 16:28:38 +01:00
283cfa7801 enhance petri net renderer 2024-11-21 15:57:14 +01:00
3aec288e37 add petri net renderer (graphviz-based) 2024-11-21 14:58:32 +01:00
a0eb56421f fix 2024-11-21 14:20:54 +01:00
87fdb8c190 InteractiveDecisionMaker uses alphabet characters to identify choices (less confusing, because model elements often already include numbers) 2024-11-21 14:18:34 +01:00
c9c5a5214d add petrinet 'mutex'-example from MoSIS slides 2024-11-21 14:17:50 +01:00
5240c7e21a Add petrinet language 2024-11-21 12:10:28 +01:00
dd7a0536c9 Add example demonstrating abstract association and inheritance between associations 2024-11-15 11:18:02 +01:00
d56132f4d5 Fix bug in Class Diagram parser 2024-11-14 14:21:28 +01:00
1845c3deb9 Rename matcher modules to make more sense 2024-11-13 11:10:31 +01:00
42757ddc4f add examples 2024-11-13 10:07:16 +01:00
8504ba52f6 RAMify: associations can also have attributes... 2024-11-12 21:54:41 +01:00
6d7a62545c rewriter: first create, then delete 2024-11-12 21:54:23 +01:00
943af428a7 make all builtins available in action code 2024-11-12 21:54:06 +01:00