A metric function is a piece of code related to a specific state; it is executed after the action function related to the specific state. The value returned by a metric function is important because allows the Interpreter to perform the transition/s , associated with the specific state, which has/have a symbol equals to the value itself: first of all temporal constraints are checked then if there are still some valid transitions the Interpreter randomly chooses one of them as the next automaton jump.