Skip to content

Stormpy's types match Storm's ValueTypes - #451

Open
volkm wants to merge 2 commits into
stormchecker:masterfrom
volkm:valuetype
Open

Stormpy's types match Storm's ValueTypes#451
volkm wants to merge 2 commits into
stormchecker:masterfrom
volkm:valuetype

Conversation

@volkm

@volkm volkm commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Fixes #450

The stormpy number types now use the same naming as Storm.

  • Rational
  • RationalFunctionCoefficient
  • RawPolynomial
  • Polynomial
  • RationalFunction
  • Interval
  • RationalInterval

This makes the connection clearer. A drawback is that a number of adaptions were necessary, especially:

  • RationalRF $\to$ RationalFunctionCoefficient
  • Polynomial $\to$ RawPolynomial
  • FactorizedPolynomial $\to$ Polynomial
  • FactorizedRationalFunction $\to$ RationalFunction

We could think about using shorter names, in particular for RationalFunctionCoefficient, but I think this should be done on the user-facing side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

storm::RationalFunction should map to stormpy.RationalFunction

1 participant