Interface Semantics<S,​T>

  • All Superinterfaces:
    java.io.Serializable
    All Known Subinterfaces:
    ExtendedSemantics<S,​T>

    public interface Semantics<S,​T>
    extends java.io.Serializable
    • Method Detail

      • setCurrentState

        void setCurrentState​(S currentState)
      • getCurrentState

        S getCurrentState()
      • getExecutableTransitions

        java.util.Collection<T> getExecutableTransitions()
      • initialize

        void initialize​(java.util.Collection<T> transitions,
                        S initialState)
        Initializes this semantics. Note that the set of transitions is considered read only, i.e. no changes can be made to it by a Semantics implementation. However, the initial state is not read only.
        Parameters:
        transitions -
        initialState -