public class StateSpaceGeneratorBuilder extends Object
| Modifier and Type | Field and Description |
|---|---|
protected StateSpaceGenerator |
generator
Internal instance of the StateSpaceGenerator under
construction by this builder
|
protected List<ProgramState> |
initialStates
The initial state passed to the state space generation
|
protected final List<ProgramState> initialStates
protected final StateSpaceGenerator generator
public StateSpaceGenerator build()
public StateSpaceGeneratorBuilder addInitialState(ProgramState initialState)
initialState - The initial state from which all reachable states are computed by
the state space generation.public StateSpaceGeneratorBuilder addInitialStates(List<ProgramState> initialStates)
initialStates - The initial states from which all reachable states are computed by
the state space generation.public StateSpaceGeneratorBuilder setProgram(Program program)
program - The program that is executed to generate the state space.public StateSpaceGeneratorBuilder setMaterializationStrategy(MaterializationStrategy materializationStrategy)
materializationStrategy - The strategy used for materialization.public StateSpaceGeneratorBuilder setCanonizationStrategy(StateCanonicalizationStrategy canonicalizationStrategy)
canonicalizationStrategy - The strategy used for canonicalization.public StateSpaceGeneratorBuilder setStateRectificationStrategy(StateRectificationStrategy stateRectificationStrategy)
public StateSpaceGeneratorBuilder setAbortStrategy(AbortStrategy abortStrategy)
abortStrategy - The strategy used for aborting the state space generation.public StateSpaceGeneratorBuilder setStateLabelingStrategy(StateLabelingStrategy stateLabelingStrategy)
stateLabelingStrategy - The strategy used to label states with atomic propositions.public StateSpaceGeneratorBuilder setStateRefinementStrategy(StateRefinementStrategy stateRefinementStrategy)
stateRefinementStrategy - The strategy to refine states before continuing the symbolic execution.public StateSpaceGeneratorBuilder setStateCounter(StateSpaceGenerator.TotalStatesCounter stateCounter)
stateCounter - The global counter for the total number of states generated so far.public StateSpaceGeneratorBuilder setStateExplorationStrategy(StateExplorationStrategy strategy)
strategy - A strategy that determines how successors of a given state are explored.public StateSpaceGeneratorBuilder setStateSpaceSupplier(StateSpaceSupplier stateSpaceSupplier)
stateSpaceSupplier - The function determining which instances of state spaces are generatedpublic StateSpaceGeneratorBuilder setPostProcessingStrategy(PostProcessingStrategy postProcessingStrategy)
postProcessingStrategy - A strategy to optimize the state space after state space generation terminated.
This strategy is applied for each generated state space, including procedure
calls.public StateSpaceGeneratorBuilder setInitialStateSpace(StateSpace initialStateSpace)
initialStateSpace - The state space to use instead of a fresh one.public StateSpaceGeneratorBuilder setFinalStateStrategy(FinalStateStrategy finalStateStrategy)
public StateSpaceGeneratorBuilder setAlwaysCanonicalize(boolean alwaysCanonicalize)
Copyright © 2018. All rights reserved.