Class EmptySPMM<I,​O>

    • Method Detail

      • getInitialProcedure

        public @Nullable I getInitialProcedure()
      • getErrorOutput

        public O getErrorOutput()
        Description copied from interface: SPMM
        Returns the output symbol that identifies erroneous transitions. Note that for the validity of this SPMM, each transition labeled with this output symbol must lead into a sink state that continues to output this symbol.
        Specified by:
        getErrorOutput in interface SPMM<Void,​I,​Void,​O>
        Returns:
        the output symbol that identifies erroneous transitions
      • getSuccessor

        public Void getSuccessor​(Void transition)
        Description copied from interface: TransitionSystem
        Retrieves the successor state of a given transition.
        Specified by:
        getSuccessor in interface TransitionSystem<Void,​I,​Void>
        Parameters:
        transition - the transition.
        Returns:
        the successor state.
      • 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