Action Language for Foundational UML (Alf)

HOWTO invoke an operation as a Transition guard in Cameo Simulation Toolkit

Start here

The tutorial happens to show the case of a guard on a Transition in a StateMachine, but the same principle applies to a guard used in most other situations (such as on an ActivityEdge in an Activity).

There are many candidates action languages offered in the tool, so we are going to compare (most of) them, including also using Action Language for Foundational UML (Alf) and the Action Language Helper (ALH) API.

Alf zone


Alf - the Action Language for Foundation UML - is a UML-friendly textual "surface language" intended for use together with fUML. Useful for those tasks in Activity and StateMachine diagrams that don't lend themselves to graphical modelling.