Browse Source

Added comment for formula equality check. Strongly related to github issue #132.

tempestpy_adaptions
Tim Quatmann 3 years ago
committed by Stefan Pranger
parent
commit
cdedf4e78f
  1. 4
      src/storm/logic/ExtractMaximalStateFormulasVisitor.cpp

4
src/storm/logic/ExtractMaximalStateFormulasVisitor.cpp

@ -150,7 +150,9 @@ namespace storm {
} }
std::shared_ptr<Formula> ExtractMaximalStateFormulasVisitor::extract(std::shared_ptr<Formula> f) const { std::shared_ptr<Formula> ExtractMaximalStateFormulasVisitor::extract(std::shared_ptr<Formula> f) const {
// TODO can be optimized
// We use the string representation of formulae to check if they are equivalent.
// Of course, this could be made more elegant if there were an actual operator< and/or operator== for formulae
std::string label; std::string label;
// Find equivalent formula in cache // Find equivalent formula in cache

Loading…
Cancel
Save