Class AbstractCompactSimpleNondet<I,​SP>

    • Constructor Detail

      • AbstractCompactSimpleNondet

        public AbstractCompactSimpleNondet​(Alphabet<I> alphabet,
                                           int stateCapacity,
                                           float resizeFactor)
    • Method Detail

      • getTransitionProperty

        public Void getTransitionProperty​(Integer transition)
        Description copied from interface: UniversalTransitionSystem
        Retrieves the transition property for the given state.
        Parameters:
        transition - the transition.
        Returns:
        the corresponding property.
      • setInitial

        public void setInitial​(Integer state,
                               boolean initial)
      • setInitial

        public void setInitial​(int state,
                               boolean initial)
      • setTransitionProperty

        public void setTransitionProperty​(Integer transition,
                                          Void property)
      • removeTransition

        public void removeTransition​(Integer state,
                                     I input,
                                     Integer transition)
      • removeTransition

        public void removeTransition​(int stateId,
                                     I input,
                                     int successorId)
      • removeTransition

        public void removeTransition​(int stateId,
                                     int inputIdx,
                                     int successorId)
      • removeAllTransitions

        public void removeAllTransitions​(Integer state,
                                         I input)
      • removeAllTransitions

        public void removeAllTransitions​(int stateId,
                                         I input)
      • removeAllTransitions

        public void removeAllTransitions​(int stateId,
                                         int inputIdx)
      • removeAllTransitions

        public void removeAllTransitions​(Integer state)
      • removeAllTransitions

        public void removeAllTransitions​(int state)
      • addTransition

        public void addTransition​(Integer state,
                                  I input,
                                  Integer transition)
      • addTransition

        public void addTransition​(int stateId,
                                  I input,
                                  int succId)
      • addTransition

        public void addTransition​(int stateId,
                                  int inputIdx,
                                  int succId)
      • createTransition

        public Integer createTransition​(Integer successor,
                                        Void properties)
      • setTransitions

        public void setTransitions​(int state,
                                   I input,
                                   Collection<? extends Integer> successors)
      • setTransitions

        public void setTransitions​(int state,
                                   int inputIdx,
                                   Collection<? extends Integer> successors)
      • getSuccessor

        public Integer getSuccessor​(Integer transition)
        Description copied from interface: TransitionSystem
        Retrieves the successor state of a given transition.
        Parameters:
        transition - the transition.
        Returns:
        the successor state.
      • getTransitions

        public Collection<Integer> getTransitions​(Integer state,
                                                  I input)
        Description copied from interface: TransitionSystem
        Retrieves the transitions that can be triggered by the given input symbol.

        The return value must not be null; if there are no transitions triggered by the specified input, Collections.emptySet() should be returned.

        Parameters:
        state - the source state.
        input - the input symbol.
        Returns:
        the transitions triggered by the given input
      • getTransitions

        public Set<Integer> getTransitions​(int state,
                                           I input)
      • getTransitions

        public Set<Integer> getTransitions​(int state,
                                           int inputIdx)
      • getInitialStates

        public Set<Integer> getInitialStates()
        Description copied from interface: SimpleTS
        Retrieves the set of initial states of the transition system.
        Returns:
        the initial states.