![]() |
abLEMON 1.9.0-101-gccb8629
A maintained fork of LEMON
|
Auxiliary class for the function-type interface of VF2 Plus Plus algorithm. More...
#include <lemon/vf2pp.h>
Public Member Functions | |
| Vf2ppWizard (const Graph1 &g1, const Graph2 &g2) | |
| Constructor. | |
| Vf2ppWizard (const Base &b) | |
| Copy constructor. | |
| template< typename T > | |
| Vf2ppWizard< SetMappingBase< T > > | mapping (const T &t) |
| Named parameter for setting the mapping. | |
| template< typename NL1 , typename NL2 > | |
| Vf2ppWizard< SetNodeLabelsBase< NL1 , NL2 > > | nodeLabels (const NL1 &nodeLabels1, const NL2 &nodeLabels2) |
| Named parameter for setting the node labels. | |
| Vf2ppWizard< Base > & | mappingType (MappingType m_type) |
| Named parameter for setting the mapping type. | |
| Vf2ppWizard< Base > & | induced () |
| Named parameter for setting the mapping type to INDUCED. | |
| Vf2ppWizard< Base > & | iso () |
| Named parameter for setting the mapping type to ISOMORPH. | |
| bool | run () |
| Runs the VF2 Plus Plus algorithm. | |
| Vf2pp< Graph1 , Graph2 , Mapping , NodeLabels1 , NodeLabels2 > * | getPtrToVf2ppObject () |
| Get a pointer to the generated Vf2pp object. | |
| int | count () |
| Counts the number of mappings. | |
This auxiliary class implements the named parameters of function-type interface of Vf2pp algorithm.
| TR | The traits class that defines various types used by the algorithm. |
|
inline |
Named parameter function for setting the map that stores the found embedding.
|
inline |
Named parameter function for setting the node labels.
| nodeLabels1 | A readable node map of g1 with integer values. In case of K different labels, the labels must be the numbers {0,1,..,K-1}. |
| nodeLabels2 | A readable node map of g2 with integer values. In case of K different labels, the labels must be the numbers {0,1,..,K-1}. |
|
inline |
Named parameter for setting the mapping type.
The mapping type is set to SUBGRAPH by default.
|
inline |
Named parameter for setting the mapping type to INDUCED.
|
inline |
Named parameter for setting the mapping type to ISOMORPH.
|
inline |
This method runs the VF2 Plus Plus algorithm.
| true | if a mapping is found. |
| false | if there is no mapping. |
|
inline |
|
inline |
This method counts the number of mappings.