Class EmptySBA<I>

    • Method Detail

      • getInitialProcedure

        public @Nullable I getInitialProcedure()
      • getProcedures

        public Map<I,​DFA<?,​I>> getProcedures()
      • isAccepting

        public boolean isAccepting​(Void state)
        Description copied from interface: AcceptorTS
        Checks whether the given state is accepting.
        Specified by:
        isAccepting in interface AcceptorTS<Void,​I>
        Parameters:
        state - the state
        Returns:
        true if the state is accepting, false otherwise.
      • getProceduralInputs

        public default Collection<I> getProceduralInputs()
        Convenience method for getProceduralInputs(Collection) which uses the input alphabet of this system as constraints.
        Returns:
        a collection of defined inputs for this system's procedures.
      • getProcedure

        public default @Nullable M getProcedure​(I callSymbol)
        Convenience method for getProcedures() to quickly return the procedure of a given call symbol.
        Parameters:
        callSymbol - the call symbol
        Returns:
        the corresponding procedure. May be null if this system does not have a procedure for the given call symbol.
        See Also:
        getProcedures()
      • size

        public default int size()
        Returns the size of this system which is given by the sum of the sizes of all procedures. Note that this value does not necessarily correspond to the classical notion of SimpleAutomaton.size(), since semantically a ProceduralSystem may be infinite-sized SimpleTS.
        Specified by:
        size in interface FiniteRepresentation
        Returns:
        the size of this system