Interface SimpleAutomaton<S,​I>

    • Method Detail

      • getStates

        Collection<S> getStates()
        Retrieves all states of the transition system. Implementing classes should return an unmodifiable collection
        Returns:
        all states in the transition system
      • createStaticStateMapping

        default <@Nullable V> MutableMapping<S,​V> createStaticStateMapping()
        Description copied from interface: SimpleTS
        Creates a MutableMapping allowing to associate arbitrary data with this transition system's states. The returned mapping is however only guaranteed to work correctly if the transition system is not modified.
        Specified by:
        createStaticStateMapping in interface SimpleTS<S,​I>
        Type Parameters:
        V - the value type of the mapping
        Returns:
        the mutable mapping
      • createDynamicStateMapping

        default <@Nullable V> MutableMapping<S,​V> createDynamicStateMapping()
        Description copied from interface: SimpleTS
        Creates a MutableMapping allowing to associate arbitrary data with this transition system's states. The returned mapping maintains the association even when the transition system is modified.
        Specified by:
        createDynamicStateMapping in interface SimpleTS<S,​I>
        Type Parameters:
        V - the value type of the mapping
        Returns:
        the mutable mapping
      • size

        default int size()
        Retrieves the size (number of states) of this transition system.
        Specified by:
        size in interface FiniteRepresentation
        Returns:
        the number of states of this transition system