moves-rwth / storm

A Modern Probabilistic Model Checker
https://www.stormchecker.org
GNU General Public License v3.0
126 stars 73 forks source link

Integrate sin, cos and constants to Storm Jani parser #556

Open MarcoLm993 opened 1 month ago

MarcoLm993 commented 1 month ago

This PR introduces support to the sin and cos operators, and to the PI and Euler number constants.

In particular, for the sin and cos operators I introduced a new expression type called trigonometric, that can be used later on in case other trigonometric operators will be integrated in storm.

Please let me know if I missed any additional place where the aforementioned operators need to be defined.

sjunges commented 1 month ago

Hi Marco,

great!

Best, Sebastian

MarcoLm993 commented 1 month ago

Hi Sebastian,

thanks for the very quick feedback!

Best, Marco

MarcoLm993 commented 3 weeks ago

Hello @sjunges and @tquatmann ,

I just pushed the last changes related to this PR. Now it should be good to go, if you do not spot anything else to change. :)

Looking forward to your inputs.

Best, Marco