public class MinAbstractionDistance extends Object implements FeasibilityFunction
| Constructor and Description |
|---|
MinAbstractionDistance(int minAbstractionDistance,
boolean aggressiveConstantAbstraction,
boolean aggressiveCompositeMarkingAbstraction) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
eval(VF2State state,
int p,
int t)
Evaluates whether extending the given state by a candidate pair results in a partial mapping between
pattern and target Graph might still lead to a valid Morphism.
|
public MinAbstractionDistance(int minAbstractionDistance,
boolean aggressiveConstantAbstraction,
boolean aggressiveCompositeMarkingAbstraction)
minAbstractionDistance - The minimal distance of variables to nodes in the morphism.aggressiveConstantAbstraction - True if and only if the minimal distance should be ignored
for variable edges representing constants.public boolean eval(VF2State state, int p, int t)
FeasibilityFunctioneval in interface FeasibilityFunctionstate - The current VF2State determining the partial Morphism computed so far.p - The new pattern candidate node that should be added to the morphism.t - The new target candidate node that should be added to the morphism.Copyright © 2018. All rights reserved.