IwoHerka / automaton-pattern

Variation of the State Pattern which makes it possible to define state relations at run-time, clearly separates state-transition logic from functional logic and minimizes necessary coupling and favors greater code reusability.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automaton Pattern

This repository contains implementation of the Automaton pattern in Java and Python, object-oriented state machine, which extends capabilities of the classic the State design pattern. The intent of these patterns is to allow alteration of object’s behaviour, when its internal state changes. Presented variation of the standard solution makes it possible to define state relations at run-time, clearly separates state-transition logic from functional logic, minimizes necessary coupling and favors greater code reusability.

Detailed description in description.pdf.

About

Variation of the State Pattern which makes it possible to define state relations at run-time, clearly separates state-transition logic from functional logic and minimizes necessary coupling and favors greater code reusability.


Languages

Language:Java 63.3%Language:Python 36.7%