From 142b69b4f45ae05b4fee52e01c1eec01b53499f2 Mon Sep 17 00:00:00 2001 From: verel Date: Thu, 7 Oct 2010 13:29:53 +0000 Subject: [PATCH] Correct in the include of moUBQPSimpleIncrEval.h git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1952 331e1502-861f-0410-8da2-ba01fb791d7f --- .../src/problems/eval/moUBQPSimpleIncrEval.h | 20 ++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/trunk/paradiseo-mo/src/problems/eval/moUBQPSimpleIncrEval.h b/trunk/paradiseo-mo/src/problems/eval/moUBQPSimpleIncrEval.h index a4fdef10b..78e6be0f5 100644 --- a/trunk/paradiseo-mo/src/problems/eval/moUBQPSimpleIncrEval.h +++ b/trunk/paradiseo-mo/src/problems/eval/moUBQPSimpleIncrEval.h @@ -31,7 +31,7 @@ Contact: paradiseo-help@lists.gforge.inria.fr #define _moUBQPSimpleIncrEval_H #include -#include +#include /** * Incremental evaluation Function for the UBQPSimple problem @@ -77,6 +77,24 @@ public: } + /* + * to get the matrix Q + * + * @return matrix Q + */ + int** getQ() { + return Q; + } + + /* + * to get the number of variable (bit string length) + * + * @return bit string length + */ + int getNbVar() { + return n; + } + private: // number of variables int n;