BIG update
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@210 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
cd07971ba2
commit
528a149107
27 changed files with 1891 additions and 344 deletions
|
|
@ -32,7 +32,7 @@
|
|||
* !!!!!!!!!!!!!!!!!!!!!!!
|
||||
*/
|
||||
template < class MOEOObjectiveVector, class MOEOFitness, class MOEODiversity >
|
||||
class MOEO : public EO < MOEOFitness >
|
||||
class MOEO : public EO < MOEOObjectiveVector >
|
||||
{
|
||||
public:
|
||||
|
||||
|
|
@ -115,7 +115,7 @@ public:
|
|||
{
|
||||
if ( invalidFitness() )
|
||||
{
|
||||
// throw std::runtime_error("invalid fitness");
|
||||
throw std::runtime_error("invalid fitness (MOEO)");
|
||||
}
|
||||
return fitnessValue;
|
||||
}
|
||||
|
|
@ -157,7 +157,7 @@ public:
|
|||
{
|
||||
if ( invalidDiversity() )
|
||||
{
|
||||
// throw std::runtime_error("invalid diversity");
|
||||
throw std::runtime_error("invalid diversity");
|
||||
}
|
||||
return diversityValue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue