Index: lemon/Makefile.am
===================================================================
--- lemon/Makefile.am (revision 696)
+++ lemon/Makefile.am (revision 700)
@@ -94,5 +94,4 @@
lemon/lp_base.h \
lemon/lp_skeleton.h \
- lemon/list_graph.h \
lemon/maps.h \
lemon/matching.h \
Index: lemon/bits/edge_set_extender.h
===================================================================
--- lemon/bits/edge_set_extender.h (revision 617)
+++ lemon/bits/edge_set_extender.h (revision 685)
@@ -538,5 +538,5 @@
public:
- ArcMap(const Graph& _g)
+ explicit ArcMap(const Graph& _g)
: Parent(_g) {}
ArcMap(const Graph& _g, const _Value& _v)
@@ -562,5 +562,5 @@
public:
- EdgeMap(const Graph& _g)
+ explicit EdgeMap(const Graph& _g)
: Parent(_g) {}
Index: lemon/bits/graph_extender.h
===================================================================
--- lemon/bits/graph_extender.h (revision 617)
+++ lemon/bits/graph_extender.h (revision 685)
@@ -605,5 +605,5 @@
public:
- NodeMap(const Graph& graph)
+ explicit NodeMap(const Graph& graph)
: Parent(graph) {}
NodeMap(const Graph& graph, const _Value& value)
@@ -629,5 +629,5 @@
public:
- ArcMap(const Graph& graph)
+ explicit ArcMap(const Graph& graph)
: Parent(graph) {}
ArcMap(const Graph& graph, const _Value& value)
@@ -653,5 +653,5 @@
public:
- EdgeMap(const Graph& graph)
+ explicit EdgeMap(const Graph& graph)
: Parent(graph) {}
Index: lemon/circulation.h
===================================================================
--- lemon/circulation.h (revision 641)
+++ lemon/circulation.h (revision 689)
@@ -451,8 +451,9 @@
}
- /// \brief Sets the tolerance used by algorithm.
- ///
- /// Sets the tolerance used by algorithm.
- Circulation& tolerance(const Tolerance& tolerance) const {
+ /// \brief Sets the tolerance used by the algorithm.
+ ///
+ /// Sets the tolerance object used by the algorithm.
+ /// \return (*this)
+ Circulation& tolerance(const Tolerance& tolerance) {
_tol = tolerance;
return *this;
@@ -461,7 +462,8 @@
/// \brief Returns a const reference to the tolerance.
///
- /// Returns a const reference to the tolerance.
+ /// Returns a const reference to the tolerance object used by
+ /// the algorithm.
const Tolerance& tolerance() const {
- return tolerance;
+ return _tol;
}
Index: lemon/maps.h
===================================================================
--- lemon/maps.h (revision 617)
+++ lemon/maps.h (revision 695)
@@ -23,4 +23,5 @@
#include
#include
+#include