Salome HOME
Merge branch 'V8_0_BR'
[modules/yacs.git] / src / engine / OptimizerAlg.hxx
index 11a735d4564e0aa278229224fb538d4f9d67a4b2..335d3d4801026945ae0cab14ba3b40f25084949e 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2006-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2006-2015  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -44,6 +44,7 @@ namespace YACS
       Pool *_pool;
       Proc * _proc;
       std::string _errorMessage;
+      int _nbOfBranches;
 
     protected:
       OptimizerAlgBase(Pool *pool);
@@ -86,7 +87,8 @@ namespace YACS
       virtual bool hasError() const;
       virtual const std::string & getError() const;
       virtual void setError(const std::string & message);
-
+      void setNbOfBranches(int nbOfBranches);
+      int getNbOfBranches() const;
     };
 
     typedef OptimizerAlgBase OptimizerAlgSync;