madarasip@1186
|
1 |
/* -*- mode: C++; indent-tabs-mode: nil; -*-
|
madarasip@1186
|
2 |
*
|
madarasip@1186
|
3 |
* This file is a part of LEMON, a generic C++ optimization library.
|
madarasip@1186
|
4 |
*
|
madarasip@1186
|
5 |
* Copyright (C) 2015-2017
|
madarasip@1186
|
6 |
* EMAXA Kutato-fejleszto Kft. (EMAXA Research Ltd.)
|
madarasip@1186
|
7 |
*
|
madarasip@1186
|
8 |
* Permission to use, modify and distribute this software is granted
|
madarasip@1186
|
9 |
* provided that this copyright notice appears in all copies. For
|
madarasip@1186
|
10 |
* precise terms see the accompanying LICENSE file.
|
madarasip@1186
|
11 |
*
|
madarasip@1186
|
12 |
* This software is provided "AS IS" with no warranty of any kind,
|
madarasip@1186
|
13 |
* express or implied, and with no claim as to its suitability for any
|
madarasip@1186
|
14 |
* purpose.
|
madarasip@1186
|
15 |
*
|
madarasip@1186
|
16 |
*/
|
madarasip@1186
|
17 |
|
madarasip@1186
|
18 |
#ifndef VF2_INTERNALS_H
|
madarasip@1186
|
19 |
#define VF2_INTERNALS_H
|
madarasip@1186
|
20 |
|
madarasip@1186
|
21 |
|
madarasip@1186
|
22 |
///\ingroup graph_properties
|
madarasip@1186
|
23 |
///\file
|
madarasip@1186
|
24 |
///\brief Mapping types for graph matching algorithms.
|
madarasip@1186
|
25 |
|
madarasip@1186
|
26 |
namespace lemon {
|
madarasip@1186
|
27 |
///\ingroup graph_isomorphism
|
madarasip@1186
|
28 |
///The \ref Vf2 "VF2" algorithm is capable of finding different kind of
|
kpeter@1188
|
29 |
///graph embeddings, this enum specifies their types.
|
madarasip@1186
|
30 |
///
|
madarasip@1186
|
31 |
///See \ref graph_isomorphism for a more detailed description.
|
madarasip@1186
|
32 |
enum MappingType {
|
madarasip@1186
|
33 |
/// Subgraph isomorphism
|
madarasip@1186
|
34 |
SUBGRAPH = 0,
|
madarasip@1186
|
35 |
/// Induced subgraph isomorphism
|
madarasip@1186
|
36 |
INDUCED = 1,
|
madarasip@1186
|
37 |
/// Graph isomorphism
|
kpeter@1188
|
38 |
///
|
kpeter@1188
|
39 |
/// If the two graphs have the same number of nodes, than it is
|
madarasip@1186
|
40 |
/// equivalent to \ref INDUCED, and if they also have the same
|
madarasip@1186
|
41 |
/// number of edges, then it is also equivalent to \ref SUBGRAPH.
|
madarasip@1186
|
42 |
///
|
kpeter@1188
|
43 |
/// However, using this setting is faster than the other two options.
|
madarasip@1186
|
44 |
ISOMORPH = 2
|
madarasip@1186
|
45 |
};
|
madarasip@1186
|
46 |
}
|
madarasip@1186
|
47 |
#endif
|