Constructor and Description |
---|
CpaAlgorithm(ConfigurableProgramAnalysis cpa)
Create an algorithm to run the specified CPA.
|
CpaAlgorithm(TransferRelation transferRelation,
MergeOperator mergeOperator,
StopOperator stopOperator,
PrecisionAdjustment precisionAdjustment)
Create a CPA algorithm from CPA components.
|
Modifier and Type | Method and Description |
---|---|
void |
run(ReachedSet reachedSet,
Waitlist waitlist,
AbortOperator abortOperator)
Algorithm from the paper is parametrized with the reached set and the waitlist.
|
public CpaAlgorithm(ConfigurableProgramAnalysis cpa)
cpa
- a CPA instance wrapping the transfer relation, the merge, and the stop operator, and
the precision adjustmentpublic CpaAlgorithm(TransferRelation transferRelation, MergeOperator mergeOperator, StopOperator stopOperator, PrecisionAdjustment precisionAdjustment)
transferRelation
- a transfer relation specifying how successor states are computedmergeOperator
- a merge operator defining how (and whether) the older AbstractState
should be updated with the newly discovered AbstractState
stopOperator
- a stop operator deciding whether the successor state should be added to the
ReachedSet
based on the content of the latterprecisionAdjustment
- a precision adjustment selecting the Precision
for the
currently processed AbstractState
considering the ReachedSet
contentpublic void run(ReachedSet reachedSet, Waitlist waitlist, AbortOperator abortOperator)
abortOperator
determines whether the analysis should end prematurely.