public class MinDistanceEmbeddingChecker extends AbstractMatchingChecker
AbstractMatchingChecker that computes an embedding of a pattern HeapConfiguration
in a target HeapConfiguration with one additional constraint:
Each variable hyperedge must have at least a predefined distance to all elements in an embedding.
This is a relaxed version of embeddings between HeapConfigurations that allows for less aggressive abstractions.EmbeddingChecker| Constructor and Description |
|---|
MinDistanceEmbeddingChecker(HeapConfiguration pattern,
HeapConfiguration target,
int depth,
boolean aggressiveNullAbstractionEnabled,
boolean aggressiveCompositeMarkingAbstraction)
Initializes an EmbeddingChecker with a minimal distance between variables and found embeddings.
|
getMatching, getPattern, getTarget, hasMatchingpublic MinDistanceEmbeddingChecker(HeapConfiguration pattern, HeapConfiguration target, int depth, boolean aggressiveNullAbstractionEnabled, boolean aggressiveCompositeMarkingAbstraction)
pattern - The HeapConfiguration that should be embedded in the pattern HeapConfiguration.target - The HeapConfiguration in which embeddings should be searched for.depth - The minimal distance between an element of a found embedding and a variable in the pattern
HeapConfiguration.aggressiveNullAbstractionEnabled - True if aggressive null abstraction is enabled.Copyright © 2018. All rights reserved.