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>>TheMergeOperatordefines how (and whether) the olderAbstractStateshould be updated with the newly discoveredAbstractState.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StateTmerge(StateT abstractState1, StateT abstractState2, Precision precision)The operator uses theabstractState1to weakenabstractState2depending onprecision.
-
-
-
Method Detail
-
merge
StateT merge(StateT abstractState1, StateT abstractState2, Precision precision)
The operator uses theabstractState1to weakenabstractState2depending onprecision. Thus, it is asymmetric regarding its first two parameters. E.g., returnabstractState2for no merging. To guarantee the correct behavior of the algorithm implementations must have no side effects.
-
-