public class StateLocalInputMealySimulatorSUL<I,O> extends MealySimulatorSUL<I,O> implements StateLocalInputSUL<I,O>
Modifier and Type | Field and Description |
---|---|
protected de.learnlib.driver.util.StateLocalInputMealySimulatorSUL.SLIMealySimulatorSULImpl<?,I,?,O> |
impl |
Constructor and Description |
---|
StateLocalInputMealySimulatorSUL(StateLocalInputMealyMachine<?,I,?,O> mealy) |
Modifier and Type | Method and Description |
---|---|
Collection<I> |
currentlyEnabledInputs()
Returns the enabled symbols for the current state of the
SUL . |
StateLocalInputSUL<I,O> |
fork()
Forks this SUL, if possible.
|
canFork, post, pre, step
public StateLocalInputMealySimulatorSUL(StateLocalInputMealyMachine<?,I,?,O> mealy)
public StateLocalInputSUL<I,O> fork()
SUL
SUL.pre()
and
SUL.post()
.
If SUL.canFork()
returns true
, this method must return a non-null
object, which should
behave exactly like this SUL (in particular, it must be forkable as well). Otherwise, a UnsupportedOperationException
must be thrown.
Implementation note: if resetting a SUL changes the internal state of this object in a non-trivial way (e.g., incrementing a counter to ensure independent sessions), care must be taken that forks of this SUL manipulate the same internal state.
public Collection<I> currentlyEnabledInputs()
StateLocalInputSUL
SUL
.currentlyEnabledInputs
in interface StateLocalInputSUL<I,O>
Copyright © 2020. All rights reserved.