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:
parent
d6b97f7754
commit
1a1422f2f9
1 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue