ometah-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[oMetah-devel] ometah/interface ometah.cpp


From: Johann
Subject: [oMetah-devel] ometah/interface ometah.cpp
Date: Fri, 11 Mar 2005 05:24:51 -0500

CVSROOT:        /cvsroot/ometah
Module name:    ometah
Branch:         
Changes by:     Johann <address@hidden> 05/03/11 10:24:51

Modified files:
        interface      : ometah.cpp 

Log message:
        * minor corrections

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/ometah/ometah/interface/ometah.cpp.diff?tr1=1.2&tr2=1.3&r1=text&r2=text

Patches:
Index: ometah/interface/ometah.cpp
diff -u ometah/interface/ometah.cpp:1.2 ometah/interface/ometah.cpp:1.3
--- ometah/interface/ometah.cpp:1.2     Thu Mar 10 18:00:21 2005
+++ ometah/interface/ometah.cpp Fri Mar 11 10:24:51 2005
@@ -1,5 +1,5 @@
 /***************************************************************************
- *  $Id: ometah.cpp,v 1.2 2005/03/10 18:00:21 nojhan Exp $
+ *  $Id: ometah.cpp,v 1.3 2005/03/11 10:24:51 nojhan Exp $
  *  Copyright : Université Paris 12 Val-de-Marne
  *  Author : Johann Dréo <address@hidden>
  ****************************************************************************/
@@ -41,7 +41,10 @@
     itsSet<itsCommunicationClient*> setCommunicationClient;
     itsSet<itsCommunicationServer*> setCommunicationServer;
 
+    // the factory
+    itsMetaheuristicFactory* factory;
+
     // add the estimation of distribution algorithm
-    itsMetaheuristicFactory* factory = new itsEstimationOfDistributionFactory;
-    setMetaheuristic.add(factory->create());
+    factory = new itsEstimationOfDistributionFactory;
+    setMetaheuristic.add( factory->create() );
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]