Correct in the include of moUBQPSimpleIncrEval.h
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1952 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
7abd6697f3
commit
142b69b4f4
1 changed files with 19 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ Contact: paradiseo-help@lists.gforge.inria.fr
|
||||||
#define _moUBQPSimpleIncrEval_H
|
#define _moUBQPSimpleIncrEval_H
|
||||||
|
|
||||||
#include <eval/moEval.h>
|
#include <eval/moEval.h>
|
||||||
#include <eval/UbqpEval.h>
|
#include <eval/ubqpEval.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Incremental evaluation Function for the UBQPSimple problem
|
* 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:
|
private:
|
||||||
// number of variables
|
// number of variables
|
||||||
int n;
|
int n;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue