From 6912ea41b62eb188663de0f1be98596229030222 Mon Sep 17 00:00:00 2001 From: nojhan Date: Fri, 19 Nov 2010 21:02:35 +0100 Subject: [PATCH] added a method to get the value of a dual fitness --- eo/src/eoDualFitness.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/eo/src/eoDualFitness.h b/eo/src/eoDualFitness.h index a758be051..337520575 100644 --- a/eo/src/eoDualFitness.h +++ b/eo/src/eoDualFitness.h @@ -108,6 +108,11 @@ public: return _is_feasible; } + inline BaseType value() const + { + return _value; + } + //! Copy operator from a std::pair eoDualFitness& operator=(const std::pair& v) {