# HG changeset patch
# User Peter Kovacs <kpeter@inf.elte.hu>
# Date 1507384080 -7200
# Node ID d9f79b81ef6c6a4f96b5e7e35150775b099aac63
# Parent c89884c1737b4b54e16d5c704a99f14df639d777
Change the default graph type of Vf2 and Vf2pp (#597)
diff --git a/lemon/vf2.h b/lemon/vf2.h
a
|
b
|
|
94 | 94 | ///use cases. |
95 | 95 | /// |
96 | 96 | ///\tparam G1 The type of the graph to be embedded. |
97 | | ///The default type is \ref ListDigraph. |
| 97 | ///The default type is \ref ListGraph. |
98 | 98 | ///\tparam G2 The type of the graph g1 will be embedded into. |
99 | | ///The default type is \ref ListDigraph. |
| 99 | ///The default type is \ref ListGraph. |
100 | 100 | ///\tparam M The type of the NodeMap storing the mapping. |
101 | 101 | ///By default, it is G1::NodeMap<G2::Node> |
102 | 102 | ///\tparam NEQ A bool-valued binary functor determinining whether a node is |
… |
… |
|
106 | 106 | #ifdef DOXYGEN |
107 | 107 | template<class G1, class G2, class M, class NEQ > |
108 | 108 | #else |
109 | | template<class G1=ListDigraph, |
110 | | class G2=ListDigraph, |
| 109 | template<class G1 = ListGraph, |
| 110 | class G2 = ListGraph, |
111 | 111 | class M = typename G1::template NodeMap<G2::Node>, |
112 | 112 | class NEQ = bits::vf2::AlwaysEq > |
113 | 113 | #endif |
diff --git a/lemon/vf2pp.h b/lemon/vf2pp.h
a
|
b
|
|
76 | 76 | ///more convenient in most use cases. |
77 | 77 | /// |
78 | 78 | ///\tparam G1 The type of the graph to be embedded. |
79 | | ///The default type is \ref ListDigraph. |
| 79 | ///The default type is \ref ListGraph. |
80 | 80 | ///\tparam G2 The type of the graph g1 will be embedded into. |
81 | | ///The default type is \ref ListDigraph. |
| 81 | ///The default type is \ref ListGraph. |
82 | 82 | ///\tparam M The type of the NodeMap storing the mapping. |
83 | 83 | ///By default, it is G1::NodeMap<G2::Node> |
84 | 84 | ///\tparam M1 The type of the NodeMap storing the integer node labels of G1. |
… |
… |
|
92 | 92 | #ifdef DOXYGEN |
93 | 93 | template<class G1, class G2, class M, class M1, class M2 > |
94 | 94 | #else |
95 | | template<class G1=ListDigraph, |
96 | | class G2=ListDigraph, |
| 95 | template<class G1 = ListGraph, |
| 96 | class G2 = ListGraph, |
97 | 97 | class M = typename G1::template NodeMap<G2::Node>, |
98 | 98 | class M1 = typename G1::template NodeMap<int>, |
99 | 99 | class M2 = typename G2::template NodeMap<int> > |