Strongly Connected Components in Declarative Models

Yesterday, I wrote about the colored automaton implementation in Declare including mentioning that it is now possible to export such automata directly from within the Designer. Today, I’ve optimized the output, so it now is possible to reduce the printout by exploiting strongly connected components.  The first change is that strongly connected components are grouped together […]

Read More… from Strongly Connected Components in Declarative Models

Colored Automata in Declare

I just finished the implementation of colored automata in Declare.  The formal foundation is described in [bibtex order=asc file=conferences.bib key=colored-automata] The idea is that normally we construct an automaton accepting only all valid executions.  Assume we look at the model: The model says that “if you are bored, you should go to a concert” (the […]

Read More… from Colored Automata in Declare

Sometimes…

Sometimes you just have to go with your heart…  Hence this code: Yes, evidently, today is going to be a “Michael posts snippets of code that amuse him”-day.  Think of it as open source and celebrate by hitting people in your office (unless your first name is Dirk). MichaelTime person of the year 2006, Nobel […]

Read More… from Sometimes…

Refactoring – Stay Quick and Beautiful

Sometimes you have to refactor something.  It may seem like it works, but the code is horrible-looking and inefficient. Consider for example this gem: No documentation, missing @Override annotation, quadratic blow-up of something that should be linear, unmotivated cloning of an immutable class, over-shadowing of field variables, leading to a clumsy syntax, and a code-structure […]

Read More… from Refactoring – Stay Quick and Beautiful

The Burning Cottage: An Approach to Solving the Mash/Meat-Equilibrium

TL;DR: I made cottage pie and put bacon on top. Then I wrote a long-winded description of it.

This solves the so-called mash/meat-equilibrium, which is a variant of the Nash equilibrium, just more delicious. The mash/meat-equilibrium states that

The mash should at all times by covered by meat on all sides in order to achieve a global optimum of the deliciousness.
[…]

Read More… from The Burning Cottage: An Approach to Solving the Mash/Meat-Equilibrium