[Lemon-commits] Peter Kovacs: Change the default graph type of V...

Lemon HG hg at lemon.cs.elte.hu
Wed Oct 17 23:21:03 CEST 2018


details:   http://lemon.cs.elte.hu/hg/lemon/rev/d9f79b81ef6c
changeset: 1410:d9f79b81ef6c
user:      Peter Kovacs <kpeter [at] inf.elte.hu>
date:      Sat Oct 07 15:48:00 2017 +0200
description:
	Change the default graph type of Vf2 and Vf2pp (#597)

diffstat:

 lemon/vf2.h   |  8 ++++----
 lemon/vf2pp.h |  8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diffs (52 lines):

diff --git a/lemon/vf2.h b/lemon/vf2.h
--- a/lemon/vf2.h
+++ b/lemon/vf2.h
@@ -94,9 +94,9 @@
   ///use cases.
   ///
   ///\tparam G1 The type of the graph to be embedded.
-  ///The default type is \ref ListDigraph.
+  ///The default type is \ref ListGraph.
   ///\tparam G2 The type of the graph g1 will be embedded into.
-  ///The default type is \ref ListDigraph.
+  ///The default type is \ref ListGraph.
   ///\tparam M The type of the NodeMap storing the mapping.
   ///By default, it is G1::NodeMap<G2::Node>
   ///\tparam NEQ A bool-valued binary functor determinining whether a node is
@@ -106,8 +106,8 @@
 #ifdef DOXYGEN
   template<class G1, class G2, class M, class NEQ >
 #else
-  template<class G1=ListDigraph,
-           class G2=ListDigraph,
+  template<class G1 = ListGraph,
+           class G2 = ListGraph,
            class M = typename G1::template NodeMap<G2::Node>,
            class NEQ = bits::vf2::AlwaysEq >
 #endif
diff --git a/lemon/vf2pp.h b/lemon/vf2pp.h
--- a/lemon/vf2pp.h
+++ b/lemon/vf2pp.h
@@ -76,9 +76,9 @@
   ///more convenient in most use cases.
   ///
   ///\tparam G1 The type of the graph to be embedded.
-  ///The default type is \ref ListDigraph.
+  ///The default type is \ref ListGraph.
   ///\tparam G2 The type of the graph g1 will be embedded into.
-  ///The default type is \ref ListDigraph.
+  ///The default type is \ref ListGraph.
   ///\tparam M The type of the NodeMap storing the mapping.
   ///By default, it is G1::NodeMap<G2::Node>
   ///\tparam M1 The type of the NodeMap storing the integer node labels of G1.
@@ -92,8 +92,8 @@
 #ifdef DOXYGEN
   template<class G1, class G2, class M, class M1, class M2 >
 #else
-  template<class G1=ListDigraph,
-           class G2=ListDigraph,
+  template<class G1 = ListGraph,
+           class G2 = ListGraph,
            class M = typename G1::template NodeMap<G2::Node>,
            class M1 = typename G1::template NodeMap<int>,
            class M2 = typename G2::template NodeMap<int> >


More information about the Lemon-commits mailing list