Package proguard.analysis.cpa.interfaces
Interface MergeOperator<StateT extends AbstractState<StateT>>
-
- Type Parameters:
StateT
- The type of the analyzed states.
- All Known Implementing Classes:
JvmMemoryLocationMergeJoinOperator
,MergeJoinOperator
,MergeSepOperator
public interface MergeOperator<StateT extends AbstractState<StateT>>
TheMergeOperator
defines how (and whether) the olderAbstractState
should be updated with the newly discoveredAbstractState
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StateT
merge(StateT abstractState1, StateT abstractState2, Precision precision)
The operator uses theabstractState1
to weakenabstractState2
depending onprecision
.
-
-
-
Method Detail
-
merge
StateT merge(StateT abstractState1, StateT abstractState2, Precision precision)
The operator uses theabstractState1
to weakenabstractState2
depending onprecision
. Thus, it is asymmetric regarding its first two parameters. E.g., returnabstractState2
for no merging. To guarantee the correct behavior of the algorithm implementations must have no side effects.
-
-