Package net.automatalib.ts.powerset
Class FastPowersetDTS<S extends NumericID,I,T>
- java.lang.Object
-
- net.automatalib.ts.powerset.FastPowersetDTS<S,I,T>
-
- All Implemented Interfaces:
DeterministicTransitionSystem<FastPowersetState<S>,I,Set<T>>,PowersetViewTS<FastPowersetState<S>,I,Set<T>,S,T>,SimpleDTS<FastPowersetState<S>,I>,SimpleTS<FastPowersetState<S>,I>,TransitionSystem<FastPowersetState<S>,I,Set<T>>
public class FastPowersetDTS<S extends NumericID,I,T> extends Object implements DeterministicTransitionSystem<FastPowersetState<S>,I,Set<T>>, PowersetViewTS<FastPowersetState<S>,I,Set<T>,S,T>
-
-
Constructor Summary
Constructors Constructor Description FastPowersetDTS(TransitionSystem<S,I,T> ts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FastPowersetState<S>getInitialState()Retrieves the initial state of this transition system.Collection<S>getOriginalStates(FastPowersetState<S> state)Collection<T>getOriginalTransitions(Set<T> transition)FastPowersetState<S>getSuccessor(Set<T> transition)Retrieves the successor state of a given transition.FastPowersetState<S>getSuccessor(FastPowersetState<S> state, I input)Retrieves the successor state reachable by the given input symbol.Set<T>getTransition(FastPowersetState<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
-
FastPowersetDTS
public FastPowersetDTS(TransitionSystem<S,I,T> ts)
-
-
Method Detail
-
getInitialState
public FastPowersetState<S> getInitialState()
Description copied from interface:SimpleDTSRetrieves the initial state of this transition system.- Specified by:
getInitialStatein interfaceSimpleDTS<S extends NumericID,I>- Returns:
- the initial state.
- See Also:
SimpleTS.getInitialStates()
-
getSuccessor
public FastPowersetState<S> getSuccessor(Set<T> transition)
Description copied from interface:TransitionSystemRetrieves the successor state of a given transition.- Specified by:
getSuccessorin interfaceTransitionSystem<S extends NumericID,I,T>- Parameters:
transition- the transition.- Returns:
- the successor state.
-
getSuccessor
public FastPowersetState<S> getSuccessor(FastPowersetState<S> state, I input)
Description copied from interface:SimpleDTSRetrieves the successor state reachable by the given input symbol.- Specified by:
getSuccessorin interfaceDeterministicTransitionSystem<S extends NumericID,I,T>- Specified by:
getSuccessorin interfaceSimpleDTS<S extends NumericID,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(FastPowersetState<S> state, I input)
Description copied from interface:DeterministicTransitionSystemRetrieves the transition triggered by the given input symbol.- Specified by:
getTransitionin interfaceDeterministicTransitionSystem<S extends NumericID,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(FastPowersetState<S> state)
- Specified by:
getOriginalStatesin interfacePowersetViewTS<FastPowersetState<S extends NumericID>,I,Set<T>,S extends NumericID,T>
-
getOriginalTransitions
public Collection<T> getOriginalTransitions(Set<T> transition)
- Specified by:
getOriginalTransitionsin interfacePowersetViewTS<FastPowersetState<S extends NumericID>,I,Set<T>,S extends NumericID,T>
-
-