public class TraceBasedFinalStateStrategy extends Object implements FinalStateStrategy
| Constructor and Description |
|---|
TraceBasedFinalStateStrategy(StateSubsumptionStrategy subsumptionStrategy,
ProgramState traceFinalState) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFinalState(ProgramState state,
Collection<ProgramState> successorStates,
SemanticsCommand semanticsCommand)
Checks whether the given state is a final state
|
public TraceBasedFinalStateStrategy(StateSubsumptionStrategy subsumptionStrategy, ProgramState traceFinalState)
public boolean isFinalState(ProgramState state, Collection<ProgramState> successorStates, SemanticsCommand semanticsCommand)
FinalStateStrategyisFinalState in interface FinalStateStrategystate - The state to checksuccessorStates - The successor states when executing one further stepsemanticsCommand - The statement that is executed for the given stateCopyright © 2019. All rights reserved.