Change the default graph type of Vf2 and Vf2pp (#597)
authorPeter Kovacs <kpeter@inf.elte.hu>
Sat, 07 Oct 2017 15:48:00 +0200
changeset 1191d9f79b81ef6c
parent 1190 c89884c1737b
child 1192 b79ff94e27d9
Change the default graph type of Vf2 and Vf2pp (#597)
lemon/vf2.h
lemon/vf2pp.h
     1.1 --- a/lemon/vf2.h	Sat Oct 07 15:46:28 2017 +0200
     1.2 +++ b/lemon/vf2.h	Sat Oct 07 15:48:00 2017 +0200
     1.3 @@ -94,9 +94,9 @@
     1.4    ///use cases.
     1.5    ///
     1.6    ///\tparam G1 The type of the graph to be embedded.
     1.7 -  ///The default type is \ref ListDigraph.
     1.8 +  ///The default type is \ref ListGraph.
     1.9    ///\tparam G2 The type of the graph g1 will be embedded into.
    1.10 -  ///The default type is \ref ListDigraph.
    1.11 +  ///The default type is \ref ListGraph.
    1.12    ///\tparam M The type of the NodeMap storing the mapping.
    1.13    ///By default, it is G1::NodeMap<G2::Node>
    1.14    ///\tparam NEQ A bool-valued binary functor determinining whether a node is
    1.15 @@ -106,8 +106,8 @@
    1.16  #ifdef DOXYGEN
    1.17    template<class G1, class G2, class M, class NEQ >
    1.18  #else
    1.19 -  template<class G1=ListDigraph,
    1.20 -           class G2=ListDigraph,
    1.21 +  template<class G1 = ListGraph,
    1.22 +           class G2 = ListGraph,
    1.23             class M = typename G1::template NodeMap<G2::Node>,
    1.24             class NEQ = bits::vf2::AlwaysEq >
    1.25  #endif
     2.1 --- a/lemon/vf2pp.h	Sat Oct 07 15:46:28 2017 +0200
     2.2 +++ b/lemon/vf2pp.h	Sat Oct 07 15:48:00 2017 +0200
     2.3 @@ -76,9 +76,9 @@
     2.4    ///more convenient in most use cases.
     2.5    ///
     2.6    ///\tparam G1 The type of the graph to be embedded.
     2.7 -  ///The default type is \ref ListDigraph.
     2.8 +  ///The default type is \ref ListGraph.
     2.9    ///\tparam G2 The type of the graph g1 will be embedded into.
    2.10 -  ///The default type is \ref ListDigraph.
    2.11 +  ///The default type is \ref ListGraph.
    2.12    ///\tparam M The type of the NodeMap storing the mapping.
    2.13    ///By default, it is G1::NodeMap<G2::Node>
    2.14    ///\tparam M1 The type of the NodeMap storing the integer node labels of G1.
    2.15 @@ -92,8 +92,8 @@
    2.16  #ifdef DOXYGEN
    2.17    template<class G1, class G2, class M, class M1, class M2 >
    2.18  #else
    2.19 -  template<class G1=ListDigraph,
    2.20 -           class G2=ListDigraph,
    2.21 +  template<class G1 = ListGraph,
    2.22 +           class G2 = ListGraph,
    2.23             class M = typename G1::template NodeMap<G2::Node>,
    2.24             class M1 = typename G1::template NodeMap<int>,
    2.25             class M2 = typename G2::template NodeMap<int> >