[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[oMetah-devel] ometah/problem/CEC05 itsCEC05_SSRPO_Base.cpp
From: |
Jean-Philippe Aumasson |
Subject: |
[oMetah-devel] ometah/problem/CEC05 itsCEC05_SSRPO_Base.cpp |
Date: |
Tue, 07 Jun 2005 11:32:44 -0400 |
CVSROOT: /cvsroot/ometah
Module name: ometah
Branch:
Changes by: Jean-Philippe Aumasson <address@hidden> 05/06/07 15:32:44
Modified files:
problem/CEC05 : itsCEC05_SSRPO_Base.cpp
Log message:
* correction in Schwefel (called itsSphere...)
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/ometah/ometah/problem/CEC05/itsCEC05_SSRPO_Base.cpp.diff?tr1=1.10&tr2=1.11&r1=text&r2=text
Patches:
Index: ometah/problem/CEC05/itsCEC05_SSRPO_Base.cpp
diff -u ometah/problem/CEC05/itsCEC05_SSRPO_Base.cpp:1.10
ometah/problem/CEC05/itsCEC05_SSRPO_Base.cpp:1.11
--- ometah/problem/CEC05/itsCEC05_SSRPO_Base.cpp:1.10 Tue Jun 7 12:31:44 2005
+++ ometah/problem/CEC05/itsCEC05_SSRPO_Base.cpp Tue Jun 7 15:32:44 2005
@@ -1,5 +1,5 @@
/***************************************************************************
- * $Id: itsCEC05_SSRPO_Base.cpp,v 1.10 2005/06/07 12:31:44 nojhan Exp $
+ * $Id: itsCEC05_SSRPO_Base.cpp,v 1.11 2005/06/07 15:32:44 jpa Exp $
* Copyright : Université Paris 12 Val-de-Marne
* (61 avenue du Général de Gaulle, 94010, Créteil, France)
* Author: Johann Dréo <address@hidden>
@@ -47,8 +47,7 @@
setName("Ackley");
setKey("Ackley");
setDescription("");
- setCitation("Unknown");
- setFormula("$-20e^{\\left(-0.2\\sqrt{\\frac{1}{D}{\\displaystyle
\\sum_{i=1}^{D}x_{i}^{2}}}\\right)}-e^{\\left(\\frac{1}{D}{\\displaystyle
\\sum_{i=1}^{D}\\cos\\left(2\\pi x_{i}\\right)}\\right)}+20+e$");
+ setCitation("Unknown");
setFormula("$-20e^{\\left(-0.2\\sqrt{\\frac{1}{D}{\\displaystyle
\\sum_{i=1}^{D}x_{i}^{2}}}\\right)}-e^{\\left(\\frac{1}{D}{\\displaystyle
\\sum_{i=1}^{D}\\cos\\left(2\\pi x_{i}\\right)}\\right)}+20+e$");
setDimension(1); // one dimension is the default, but one may change it
after instanciation
@@ -386,7 +385,7 @@
itsProblem * itsSchwefelFactory::create()
{
- return new itsSphere();
+ return new itsSchwefel();
}
- [oMetah-devel] ometah/problem/CEC05 itsCEC05_SSRPO_Base.cpp,
Jean-Philippe Aumasson <=