Catégorie:Patrius Backward Compatibility 4.14 : Différence entre versions
Ligne 4 : | Ligne 4 : | ||
If any action is provided by the user, the '''backward compatibility is activated by default in PATRIUS''' : this means that external users will see their code/functions working with some of the propagation models/optimisation algorithms of PATRIUS version 4.12. | If any action is provided by the user, the '''backward compatibility is activated by default in PATRIUS''' : this means that external users will see their code/functions working with some of the propagation models/optimisation algorithms of PATRIUS version 4.12. | ||
− | == | + | == Backward compatibility functionalities == |
+ | |||
+ | === Available options === | ||
Three options are available for users via the enum <code>PatriusVersionCompatibility</code> of the class <code>PatriusConfiguration</code>: | Three options are available for users via the enum <code>PatriusVersionCompatibility</code> of the class <code>PatriusConfiguration</code>: | ||
* OLD_MODELS : the user will use the propagation models and optimisation algorithms coded in PATRIUS version 4.12; | * OLD_MODELS : the user will use the propagation models and optimisation algorithms coded in PATRIUS version 4.12; | ||
Ligne 10 : | Ligne 12 : | ||
* NEW_MODELS : no backward compatibility mechanism is used. | * NEW_MODELS : no backward compatibility mechanism is used. | ||
− | == Backward compatibility for propagation models == | + | === Backward compatibility for propagation models === |
− | == Backward compatibility for optimisation algorithms == | + | === Backward compatibility for optimisation algorithms === |
− | == How to set our own Patrius compatibility configuration == | + | === How to set our own Patrius compatibility configuration === |
The class <code>PatriusConfiguration</code> contains a setter <code>setPatriusCompatibilityMode(PatriusVersionCompatibility)</code> that allows to switch our own configuration as a function of the user needs. | The class <code>PatriusConfiguration</code> contains a setter <code>setPatriusCompatibilityMode(PatriusVersionCompatibility)</code> that allows to switch our own configuration as a function of the user needs. | ||
+ | A specific getter <code>getPatriusCompatibilityMode</code> allows to retrieve the used configuration at any moment if needed. | ||
[[Category:User_Manual_4.14]] | [[Category:User_Manual_4.14]] |
Version du 5 septembre 2024 à 16:09
Sommaire
Introduction
A specific backward compatibility mechanism is implemented in PATRIUS allowing by default to have a backward compatibility with PATRIUS version 4.12 propagation models and/or optimisation algorithms. If any action is provided by the user, the backward compatibility is activated by default in PATRIUS : this means that external users will see their code/functions working with some of the propagation models/optimisation algorithms of PATRIUS version 4.12.
Backward compatibility functionalities
Available options
Three options are available for users via the enum PatriusVersionCompatibility
of the class PatriusConfiguration
:
- OLD_MODELS : the user will use the propagation models and optimisation algorithms coded in PATRIUS version 4.12;
- MIXED_MODELS : the user will juste use propagation models coded in PATRIUS version 4.12 (no backward compatibility on optimisation algorithms)
- NEW_MODELS : no backward compatibility mechanism is used.
Backward compatibility for propagation models
Backward compatibility for optimisation algorithms
How to set our own Patrius compatibility configuration
The class PatriusConfiguration
contains a setter setPatriusCompatibilityMode(PatriusVersionCompatibility)
that allows to switch our own configuration as a function of the user needs.
A specific getter getPatriusCompatibilityMode
allows to retrieve the used configuration at any moment if needed.
Cette catégorie ne contient aucune page ou fichier multimédia.