X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fengine%2FOptimizerAlg.hxx;h=335d3d4801026945ae0cab14ba3b40f25084949e;hb=89f536fa20e516d2de5339f741956dd1473f46a4;hp=11a735d4564e0aa278229224fb538d4f9d67a4b2;hpb=14ddeddd588b20887c99de78c95d402527062012;p=modules%2Fyacs.git diff --git a/src/engine/OptimizerAlg.hxx b/src/engine/OptimizerAlg.hxx index 11a735d45..335d3d480 100644 --- a/src/engine/OptimizerAlg.hxx +++ b/src/engine/OptimizerAlg.hxx @@ -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;