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;