From cf8a8e9a9a0a5477aeb973e032d841f274092e1d Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Sat, 25 Aug 2018 21:18:38 +0200 Subject: [PATCH] Adding DE to standard GUI, and minor Python 3 correction --- resources/ADAOSchemaCatalog.xml | 8 ++++---- src/daSalome/daYacsSchemaCreator/infos_daComposant.py | 7 +++++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/resources/ADAOSchemaCatalog.xml b/resources/ADAOSchemaCatalog.xml index 8906525..f531643 100644 --- a/resources/ADAOSchemaCatalog.xml +++ b/resources/ADAOSchemaCatalog.xml @@ -61,9 +61,9 @@ diff --git a/src/daSalome/daYacsSchemaCreator/infos_daComposant.py b/src/daSalome/daYacsSchemaCreator/infos_daComposant.py index 6a18350..b9c4067 100644 --- a/src/daSalome/daYacsSchemaCreator/infos_daComposant.py +++ b/src/daSalome/daYacsSchemaCreator/infos_daComposant.py @@ -75,6 +75,7 @@ AssimAlgos = [ "NonLinearLeastSquares", "QuantileRegression", "ParticleSwarmOptimization", + "DifferentialEvolution", ] CheckAlgos = [ "FunctionTest", @@ -151,6 +152,11 @@ AlgoDataRequirements["ParticleSwarmOptimization"] = [ "Observation", "ObservationError", "ObservationOperator", ] +AlgoDataRequirements["DifferentialEvolution"] = [ + "Background", "BackgroundError", + "Observation", "ObservationError", + "ObservationOperator", + ] AlgoDataRequirements["QuantileRegression"] = [ "Background", "Observation", @@ -200,6 +206,7 @@ AlgoType["UnscentedKalmanFilter"] = "Optim" AlgoType["LinearLeastSquares"] = "Optim" AlgoType["NonLinearLeastSquares"] = "Optim" AlgoType["ParticleSwarmOptimization"] = "Optim" +AlgoType["DifferentialEvolution"] = "Optim" AlgoType["QuantileRegression"] = "Optim" # Variables qui sont partages avec le generateur de -- 2.39.2