mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03:00
0024608: Development of methods of global optimization of multivariable function
math_GlobOptMin - new global optimization minimization algorithm Extrema_GlobOptFuncCC, Extrema_ExtCC, Extrema_ExtCC2d - implementation of GlobOptMin algorithm to extrema curve / curve Extrema_CurveCache - deleted as obsolete code ChFi3d_Builder.cxx - fixed processing of extrema math_NewtonMinimum.cxx - fixed step to avoid incorrect behavior Test cases modification to meet new behavior.
This commit is contained in:
@@ -11,7 +11,7 @@ checkshape aEdge2
|
||||
|
||||
distmini d aEdge1 aEdge2
|
||||
regexp {NB RESULTS +: +([-0-9.+eE]+)} [BUC60825 aEdge1 aEdge2] full ext
|
||||
if { $ext != 0 } {
|
||||
if { $ext != 1 } {
|
||||
puts "Error : The extrema has not been calculated."
|
||||
}
|
||||
|
||||
|
@@ -15,7 +15,7 @@ circle curve_2 5.3 -0.5 2
|
||||
|
||||
set err [llength [2dextrema curve_1 curve_2]]
|
||||
|
||||
if {$err == 16} {
|
||||
if {$err == 6} {
|
||||
puts "BUC60890 OK: Function 2dextrema works properly."
|
||||
} else {
|
||||
puts "Faulty BUC60890 : Function 2dextrema works wrongly."
|
||||
|
Reference in New Issue
Block a user