diff -r 9eac00ea588f -r dceba191c00d lemon/core.h --- a/lemon/core.h Fri Aug 09 14:07:27 2013 +0200 +++ b/lemon/core.h Fri Aug 09 11:28:17 2013 +0200 @@ -2,7 +2,7 @@ * * This file is a part of LEMON, a generic C++ optimization library. * - * Copyright (C) 2003-2010 + * Copyright (C) 2003-2013 * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport * (Egervary Research Group on Combinatorial Optimization, EGRES). * @@ -254,7 +254,7 @@ } namespace _graph_utils_bits { - + template struct CountRedNodesSelector { static int count(const Graph &g) { @@ -264,13 +264,13 @@ template struct CountRedNodesSelector< - Graph, typename - enable_if::type> + Graph, typename + enable_if::type> { static int count(const Graph &g) { return g.redNum(); } - }; + }; } /// \brief Function to count the red nodes in the graph. @@ -279,7 +279,7 @@ /// The complexity of the function is O(n) but for some /// graph structures it is specialized to run in O(1). /// - /// If the graph contains a \e redNum() member function and a + /// If the graph contains a \e redNum() member function and a /// \e NodeNumTag tag then this function calls directly the member /// function to query the cardinality of the node set. template @@ -288,7 +288,7 @@ } namespace _graph_utils_bits { - + template struct CountBlueNodesSelector { static int count(const Graph &g) { @@ -298,13 +298,13 @@ template struct CountBlueNodesSelector< - Graph, typename - enable_if::type> + Graph, typename + enable_if::type> { static int count(const Graph &g) { return g.blueNum(); } - }; + }; } /// \brief Function to count the blue nodes in the graph. @@ -313,7 +313,7 @@ /// The complexity of the function is O(n) but for some /// graph structures it is specialized to run in O(1). /// - /// If the graph contains a \e blueNum() member function and a + /// If the graph contains a \e blueNum() member function and a /// \e NodeNumTag tag then this function calls directly the member /// function to query the cardinality of the node set. template @@ -1865,7 +1865,7 @@ /// The Digraph type typedef GR Digraph; - + protected: class AutoNodeMap : public ItemSetTraits::template Map::Type