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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user