public abstract class AbstractVF2MorphismChecker extends Object implements MorphismChecker
MorphismChecker
to find graph morphisms mapping a pattern graph into a target graph.
Subclasses of AbstractVF2MorphismChecker usually determine the actual algorithm that is applied to find morphisms.
The class supports to check whether at least one morphism exists and to iteratively get all existing morphisms.
| Modifier and Type | Method and Description |
|---|---|
Morphism |
getMorphism() |
boolean |
hasMorphism() |
void |
run(Graph pattern,
Graph target)
Starts searching for graph morphisms of the pattern graph into the target graph.
|
public void run(Graph pattern, Graph target)
run in interface MorphismCheckerpattern - The pattern graph.target - The target graph.public boolean hasMorphism()
hasMorphism in interface MorphismCheckerpublic Morphism getMorphism()
getMorphism in interface MorphismCheckerCopyright © 2019. All rights reserved.