1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0026044: Optimize math_GlobOptMin class to enter options for solutions of some specified problems

Possibility to search single optimum added.
This commit is contained in:
aml
2015-05-19 14:27:06 +03:00
committed by bugmaster
parent ae9a414af0
commit 78e7cada5a
2 changed files with 29 additions and 9 deletions

View File

@@ -53,7 +53,8 @@ public:
Standard_EXPORT ~math_GlobOptMin();
Standard_EXPORT void Perform();
//! @param isFindSingleSolution - defines whether to find single solution or all solutions.
Standard_EXPORT void Perform(const Standard_Boolean isFindSingleSolution = Standard_False);
//! Get best functional value.
Standard_EXPORT Standard_Real GetF();
@@ -99,6 +100,7 @@ private:
// function values |val1 - val2| * 0.01 < mySameTol is equal,
// default value is 1.0e-7.
Standard_Real myC; //Lipschitz constant, default 9
Standard_Boolean myIsFindSingleSolution; // Default value is false.
// Output.
Standard_Boolean myDone;