commit:2019:08_13
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| commit:2019:08_13 [2019/08/14 21:44] – wautelet | commit:2019:08_13 [2019/08/14 22:56] (current) – [Commit 2019-08-13] wautelet | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Commit 2019-08-13 ====== | ===== Commit 2019-08-13 ====== | ||
| - | Ce commit a pour but d' | + | Ce commit a pour but d' |
| <note important> | <note important> | ||
| + | |||
| + | Pour mon prochain commit, il y aura une nouvelle implémentation du Line Search Structural plus performante que celle actuelle. | ||
| ==== Structural Line Search - Refactoring ==== | ==== Structural Line Search - Refactoring ==== | ||
| - | === FullStepStructuralLineSearch === | + | J'ai placé les fonctions relatives à l' |
| + | |||
| + | === FullStepStructuralLineSearch | ||
| + | |||
| + | Cette méthode correspond à la méthode classique de Newton Raphson où la taille du pas selon la direction de recherche est de 1. | ||
| + | |||
| + | < | ||
| + | mim = metafor.getIterationManager() | ||
| + | lineSearch = FullStepStructuralLineSearch(mim) | ||
| + | lineSearch.setVerbose(boolParameter|default value = False) | ||
| + | lineSearch.setDebug(boolParameter|default value = False) | ||
| + | mim.setStructuralLineSearch(lineSearch) | ||
| + | </ | ||
| + | |||
| + | <note important> | ||
| + | |||
| + | === StandardStructuralLineSearch (Derive de StructuralLineSearch = une classe virtuelle) === | ||
| + | |||
| + | Cette méthode correspond au Line Search Structural programmée par Ludovic Noëls. Je remets ici les différents paramètres d' | ||
| + | |||
| + | < | ||
| + | mim = metafor.getIterationManager() | ||
| + | lineSearch = StandardStructuralLineSearch(mim) | ||
| + | lineSearch.setVerbose(boolParameter|default value = False) | ||
| + | lineSearch.setDebug(boolParameter|default value = False) | ||
| + | lineSearch.setMaxNbOfLineSearchIterations(integerParameter|default value = 10); | ||
| + | lineSearch.setLineSearchTolerance1(doubleParameter|default value = 1.0); | ||
| + | lineSearch.setLineSearchTolerance2(doubleParameter|default value = 1.0E-8); | ||
| + | lineSearch.setAbsMaxLineSearchCoefficient(doubleParameter|default value = 10.0); | ||
| + | lineSearch.setAbsMinLineSearchCoefficient(doubleParameter|default value = 0.0); | ||
| + | mim.setStructuralLineSearch(lineSearch) | ||
| + | </ | ||
| - | === StandardStructuralLineSearch === | + | Désormais, il est possible de normaliser le résidu du Line Search Structural via la commande suivante : |
| + | < | ||
| + | lineSearch.setUseNormalisedCriterion(boolParameter|default value = False) | ||
| + | </ | ||
| + | On divise tout simplement les résidus du Line Search Structural par la valeur obtenue à l' | ||
| ==== Jeux de données - Structural Line Search ==== | ==== Jeux de données - Structural Line Search ==== | ||
commit/2019/08_13.1565811845.txt.gz · Last modified: by wautelet
