Package net.automatalib.ts.powerset
Class DeterministicPowersetView<S,I,T>
- java.lang.Object
-
- net.automatalib.ts.powerset.DeterministicPowersetView<S,I,T>
-
- All Implemented Interfaces:
DeterministicTransitionSystem<S,I,T>
,PowersetViewTS<S,I,T,S,T>
,SimpleDTS<S,I>
,SimpleTS<S,I>
,TransitionSystem<S,I,T>
public class DeterministicPowersetView<S,I,T> extends Object implements DeterministicTransitionSystem<S,I,T>, PowersetViewTS<S,I,T,S,T>
-
-
Constructor Summary
Constructors Constructor Description DeterministicPowersetView(DeterministicTransitionSystem<S,I,T> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable S
getInitialState()
Retrieves the initial state of this transition system.Collection<S>
getOriginalStates(S state)
Collection<T>
getOriginalTransitions(T transition)
S
getSuccessor(T transition)
Retrieves the successor state of a given transition.@Nullable T
getTransition(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
getSuccessor, 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
-
DeterministicPowersetView
public DeterministicPowersetView(DeterministicTransitionSystem<S,I,T> delegate)
-
-
Method Detail
-
getTransition
public @Nullable T getTransition(S state, I input)
Description copied from interface:DeterministicTransitionSystem
Retrieves the transition triggered by the given input symbol.- Specified by:
getTransition
in interfaceDeterministicTransitionSystem<S,I,T>
- Parameters:
state
- the source state.input
- the input symbol.- Returns:
- the transition triggered by the given input symbol, or
null
if no transition is triggered. - See Also:
TransitionSystem.getTransitions(Object, Object)
-
getSuccessor
public S getSuccessor(T transition)
Description copied from interface:TransitionSystem
Retrieves the successor state of a given transition.- Specified by:
getSuccessor
in interfaceTransitionSystem<S,I,T>
- Parameters:
transition
- the transition.- Returns:
- the successor state.
-
getInitialState
public @Nullable S getInitialState()
Description copied from interface:SimpleDTS
Retrieves the initial state of this transition system.- Specified by:
getInitialState
in interfaceSimpleDTS<S,I>
- Returns:
- the initial state.
- See Also:
SimpleTS.getInitialStates()
-
getOriginalStates
public Collection<S> getOriginalStates(S state)
- Specified by:
getOriginalStates
in interfacePowersetViewTS<S,I,T,S,T>
-
getOriginalTransitions
public Collection<T> getOriginalTransitions(T transition)
- Specified by:
getOriginalTransitions
in interfacePowersetViewTS<S,I,T,S,T>
-
-