Package net.automatalib.ts.powerset
Class DirectPowersetDTS<S,I,T>
- java.lang.Object
-
- net.automatalib.ts.powerset.DirectPowersetDTS<S,I,T>
-
- All Implemented Interfaces:
DeterministicTransitionSystem<Set<S>,I,Set<T>>,PowersetViewTS<Set<S>,I,Set<T>,S,T>,SimpleDTS<Set<S>,I>,SimpleTS<Set<S>,I>,TransitionSystem<Set<S>,I,Set<T>>
public class DirectPowersetDTS<S,I,T> extends Object implements PowersetViewTS<Set<S>,I,Set<T>,S,T>
-
-
Constructor Summary
Constructors Constructor Description DirectPowersetDTS(TransitionSystem<S,I,T> ts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<S>getInitialState()Retrieves the initial state of this transition system.Collection<S>getOriginalStates(Set<S> state)Collection<T>getOriginalTransitions(Set<T> transition)Set<S>getSuccessor(Set<S> state, I input)Retrieves the successor state reachable by the given input symbol.Set<S>getSuccessor(Set<T> transition)Retrieves the successor state of a given transition.Set<T>getTransition(Set<S> state, I input)Retrieves the transition triggered by the given input symbol.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.automatalib.ts.DeterministicTransitionSystem
getSuccessors, getTransitions
-
Methods inherited from interface net.automatalib.ts.simple.SimpleDTS
getInitialStates, getState, getStates, getSuccessor, getSuccessors
-
Methods inherited from interface net.automatalib.ts.simple.SimpleTS
createDynamicStateMapping, createStaticStateMapping, getSuccessors
-
Methods inherited from interface net.automatalib.ts.TransitionSystem
powersetView
-
-
-
-
Constructor Detail
-
DirectPowersetDTS
public DirectPowersetDTS(TransitionSystem<S,I,T> ts)
-
-
Method Detail
-
getInitialState
public Set<S> getInitialState()
Description copied from interface:SimpleDTSRetrieves the initial state of this transition system.- Specified by:
getInitialStatein interfaceSimpleDTS<S,I>- Returns:
- the initial state.
- See Also:
SimpleTS.getInitialStates()
-
getSuccessor
public Set<S> getSuccessor(Set<T> transition)
Description copied from interface:TransitionSystemRetrieves the successor state of a given transition.- Specified by:
getSuccessorin interfaceTransitionSystem<S,I,T>- Parameters:
transition- the transition.- Returns:
- the successor state.
-
getSuccessor
public Set<S> getSuccessor(Set<S> state, I input)
Description copied from interface:SimpleDTSRetrieves the successor state reachable by the given input symbol.- Specified by:
getSuccessorin interfaceDeterministicTransitionSystem<S,I,T>- Specified by:
getSuccessorin interfaceSimpleDTS<S,I>- Parameters:
state- the source state.input- the input symbol.- Returns:
- the successor state reachable by the given input symbol, or
nullif no state is reachable by this symbol. - See Also:
TransitionSystem.getSuccessors(Object, Object)
-
getTransition
public Set<T> getTransition(Set<S> state, I input)
Description copied from interface:DeterministicTransitionSystemRetrieves the transition triggered by the given input symbol.- Specified by:
getTransitionin interfaceDeterministicTransitionSystem<S,I,T>- Parameters:
state- the source state.input- the input symbol.- Returns:
- the transition triggered by the given input symbol, or
nullif no transition is triggered. - See Also:
TransitionSystem.getTransitions(Object, Object)
-
getOriginalStates
public Collection<S> getOriginalStates(Set<S> state)
- Specified by:
getOriginalStatesin interfacePowersetViewTS<Set<S>,I,Set<T>,S,T>
-
getOriginalTransitions
public Collection<T> getOriginalTransitions(Set<T> transition)
- Specified by:
getOriginalTransitionsin interfacePowersetViewTS<Set<S>,I,Set<T>,S,T>
-
-