Joeri Exelmans
|
0863e16d07
Event loop integration: make it safe to add input events from output event callback.
|
před 5 roky |
Joeri Exelmans
|
3fc7e6bbab
Simplify super-round maximality implementation
|
před 5 roky |
Joeri Exelmans
|
950b98fd8d
Added some documentation + 2 bugs in the form of tests
|
před 5 roky |
Joeri Exelmans
|
1912ac2988
Remove an unused field, update documentation
|
před 5 roky |
Joeri Exelmans
|
b973c0f4fa
Added some documentation. Moved Globals class to statechart.static package. Moved cd.cd module to cd.static.cd to achieve common structure with action_lang and statechart packages.
|
před 5 roky |
Joeri Exelmans
|
40300fd648
Lots of earlier, uncommitted changes
|
před 5 roky |
Joeri Exelmans
|
2c203051b8
More slotted classes, small changes.
|
před 5 roky |
Joeri Exelmans
|
d7522cff55
Clearer distinction between "internal events" and "internally raised events"
|
před 5 roky |
Joeri Exelmans
|
f399300f64
More efficient conversions between duration units. Improved type checks for binary and unary expressions.
|
před 5 roky |
Joeri Exelmans
|
829cb29aa4
Action language: Added float literals, subtractions between durations and fixed bug in binary expression type check.
|
před 5 roky |
Joeri Exelmans
|
3c95a734bd
Simpler Source-Child priority implementation
|
před 5 roky |
Joeri Exelmans
|
ff638964bb
Experiment with statically generating sets of concurrent transitions.
|
před 5 roky |
Joeri Exelmans
|
d6c05d3510
Implemented additional "arena" hierarchical priority semantics + corrected existing semantics (Source-Child semantics does no longer reverse "explicit" (document) order of transitions of equal priority). Add tests for hierarchical priority semantics.
|
před 5 roky |
Joeri Exelmans
|
61b8f1b513
Higher re-use of transition candidate generation logic
|
před 5 roky |
Joeri Exelmans
|
1db62ed6f5
Event queue: use collections.Counter class
|
před 5 roky |
Joeri Exelmans
|
4deb813733
Event queue: more efficient removing of items
|
před 5 roky |
Joeri Exelmans
|
b83afd8058
Event loop: Model remains responsive if we cannot keep up with wallclock time. Model simply runs at reduced speed but will catch up when it has the chance.
|
před 5 roky |
Joeri Exelmans
|
2ff5a98dc8
Various bug fixes + improvements to digital watch model.
|
před 5 roky |
Joeri Exelmans
|
03957f99e5
More flexible and efficient output events. Proper canceling of timer events in the controller event queue instead of ignoring canceled events in the statechart (statechart should not execute a big step for a canceled event)
|
před 5 roky |
Joeri Exelmans
|
5f01be7d40
Added missing type check.
|
před 5 roky |
Joeri Exelmans
|
a5bd657f8d
Call Tk's update_idletasks when scheduling another wakeup, so the (digital watch) interface remains responsive under full load.
|
před 5 roky |
Joeri Exelmans
|
d98becde8f
More slotted classes
|
před 5 roky |
Joeri Exelmans
|
49bc688471
More slotted classes and using Python's 'with' statement for recording timings.
|
před 5 roky |
Joeri Exelmans
|
638185fbe3
Turn State and Transition classes (many attribute accesses at runtime) and Event class (frequently created at runtime) into slotted classes for performance. State and Transition are 'frozen' after tree optimization (writing an attribute would raise an error)
|
před 5 roky |
Joeri Exelmans
|
9a65f34293
Entering a history state whose parent hasn't been exited before should exit the parent's default state.
|
před 5 roky |
Joeri Exelmans
|
cc287b49ff
Add file mentioning tests yet to write.
|
před 5 roky |
Joeri Exelmans
|
26474302b9
When not debugging, use 'int' type instead of our Bitmap type (which inherits 'int'). Almost halves transition execution time!
|
před 5 roky |
Joeri Exelmans
|
def1c58b23
Remove unused code.
|
před 5 roky |
Joeri Exelmans
|
858f49384f
Partially-static computation of a transition's enter state set, saving us 0.05 ms (!) when executing a complex transition.
|
před 5 roky |
Joeri Exelmans
|
af62dc077c
Various small fixes
|
před 5 roky |