public class SimpleCpa extends java.lang.Object implements ConfigurableProgramAnalysis
SimpleCpa
is a ConfigurableProgramAnalysis
wrapping its components.Constructor and Description |
---|
SimpleCpa(AbstractDomain abstractDomain,
TransferRelation transferRelation,
MergeOperator mergeOperator,
StopOperator stopOperator)
Create a simple CPA with a static precision adjustment.
|
SimpleCpa(AbstractDomain abstractDomain,
TransferRelation transferRelation,
MergeOperator mergeOperator,
StopOperator stopOperator,
PrecisionAdjustment precisionAdjustment)
Create a simple CPA from
ConfigurableProgramAnalysis components. |
Modifier and Type | Method and Description |
---|---|
AbstractDomain |
getAbstractDomain()
Returns the abstract domain of this CPA.
|
MergeOperator |
getMergeOperator()
Returns the merge operator of this CPA.
|
PrecisionAdjustment |
getPrecisionAdjustment()
Returns the precision adjustment of this CPA.
|
StopOperator |
getStopOperator()
Returns the stop operator of this CPA.
|
TransferRelation |
getTransferRelation()
Returns the transfer relation of this CPA.
|
public SimpleCpa(AbstractDomain abstractDomain, TransferRelation transferRelation, MergeOperator mergeOperator, StopOperator stopOperator)
abstractDomain
- a join-semilattice of AbstractState
s defining the abstraction
level of the analysistransferRelation
- 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 latterpublic SimpleCpa(AbstractDomain abstractDomain, TransferRelation transferRelation, MergeOperator mergeOperator, StopOperator stopOperator, PrecisionAdjustment precisionAdjustment)
ConfigurableProgramAnalysis
components.abstractDomain
- a join-semilattice of AbstractState
s defining the abstraction
level of the analysistransferRelation
- 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 AbstractDomain getAbstractDomain()
ConfigurableProgramAnalysis
getAbstractDomain
in interface ConfigurableProgramAnalysis
public TransferRelation getTransferRelation()
ConfigurableProgramAnalysis
getTransferRelation
in interface ConfigurableProgramAnalysis
public MergeOperator getMergeOperator()
ConfigurableProgramAnalysis
getMergeOperator
in interface ConfigurableProgramAnalysis
public StopOperator getStopOperator()
ConfigurableProgramAnalysis
getStopOperator
in interface ConfigurableProgramAnalysis
public PrecisionAdjustment getPrecisionAdjustment()
ConfigurableProgramAnalysis
getPrecisionAdjustment
in interface ConfigurableProgramAnalysis