Package org.graph4j.isomorphism
Class VF2SubGraphIsomorphism
java.lang.Object
org.graph4j.isomorphism.AbstractGraphIsomorphism
org.graph4j.isomorphism.VF2SubGraphIsomorphism
- All Implemented Interfaces:
GraphIsomorphism
Class for the VF2 algorithm for exact graph isomorphism.
Based on the paper "A (sub)graph isomorphism algorithm for matching large graphs - Cordella, L.P. and Foggia, P. and Sansone, C. and Vento, M. - IEEE Transactions on Pattern Analysis and Machine Intelligence, 2004 (10.1109/TPAMI.2004.75)" and the original implementation done by MIVIA research Lab of the University of Salerno
This implementation of the VF2 algorithm does support all types of graphs.- Author:
- Ignat Gabriel-Andrei
-
Field Summary
Fields inherited from class org.graph4j.isomorphism.AbstractGraphIsomorphism
cache, dg1, dg2 -
Constructor Summary
ConstructorsConstructorDescriptionVF2SubGraphIsomorphism(Graph g1, Graph g2) VF2SubGraphIsomorphism(Graph g1, Graph g2, boolean cache) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stateprotected StategetStateInstance(Digraph g1, Digraph g2, boolean cache) Methods inherited from class org.graph4j.isomorphism.AbstractGraphIsomorphism
areIsomorphic, getAllMappings, getMapping
-
Constructor Details
-
VF2SubGraphIsomorphism
-
VF2SubGraphIsomorphism
-
-
Method Details
-
getStateInstance
- Specified by:
getStateInstancein classAbstractGraphIsomorphism
-
getNewStateInstance
- Specified by:
getNewStateInstancein classAbstractGraphIsomorphism
-