the getter of the previous commit

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2201 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
verel 2011-03-22 09:03:43 +00:00
commit 1a1422f2f9

View file

@ -151,6 +151,16 @@ class MOEO : public EO < MOEOObjectiveVector >
}
/**
* Gets one dimension of the objective vector
* @param _dim dimension of the objective vector to set
*/
typename ObjectiveVector::Type objectiveVector(unsigned int _dim)
{
return objectiveVectorValue[_dim];
}
/**
* Sets the objective vector of the current solution
* @param _objectiveVectorValue the new objective vector