Added a new method called validate_params to ParamsTrait
Introduced InvalidCIM; a new kind of ParamsError
The elements of the struct DiscreteStateContinousTimeParams are now private
Added getters and setters for the parameters of struct DiscreteStateContinousTimeParams
The setter method for the cim checks the validity of the cim using the validate_params method.
(Optional) Extra info
None
# Pull/Merge Request into master dev
## Description
See the issue related, what is done in the commits and in the changelog below.
## Issues related
* #14
## Merge into Dev Checklist
* [x] Tests for the new code
* [x] Acceptance Testing
## Changelog
* Added a new method called `validate_params` to `ParamsTrait`
* Introduced `InvalidCIM`; a new kind of `ParamsError`
* The elements of the `struct DiscreteStateContinousTimeParams` are now private
* Added getters and setters for the parameters of `struct DiscreteStateContinousTimeParams`
* The setter method for the cim checks the validity of the cim using the `validate_params` method.
## (Optional) Extra info
None
Pull/Merge Request into master dev
Description
See the issue related, what is done in the commits and in the changelog below.
Issues related
Merge into Dev Checklist
Changelog
validate_params
toParamsTrait
InvalidCIM
; a new kind ofParamsError
struct DiscreteStateContinousTimeParams
are now privatestruct DiscreteStateContinousTimeParams
validate_params
method.(Optional) Extra info
None
2d7e52f8f1
.