add distance
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@345 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
e9cae8bdae
commit
f2c7c06651
2 changed files with 81 additions and 81 deletions
|
|
@ -36,7 +36,7 @@ public:
|
||||||
moeoDistanceMatrix (unsigned _size, moeoDistance < MOEOT , Type > & _distance) : distance(_distance)
|
moeoDistanceMatrix (unsigned _size, moeoDistance < MOEOT , Type > & _distance) : distance(_distance)
|
||||||
{
|
{
|
||||||
this->resize(_size);
|
this->resize(_size);
|
||||||
for(unsigned i=0; i<_size; i++)
|
for (unsigned i=0; i<_size; i++)
|
||||||
{
|
{
|
||||||
this->operator[](i).resize(_size);
|
this->operator[](i).resize(_size);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue