@ -31,6 +32,7 @@ void define_prism(py::module& m) {
.def_property_readonly("has_undefined_constants",&storm::prism::Program::hasUndefinedConstants,"Flag if program has undefined constants")
.def_property_readonly("has_undefined_constants",&storm::prism::Program::hasUndefinedConstants,"Flag if program has undefined constants")
.def_property_readonly("undefined_constants_are_graph_preserving",&storm::prism::Program::undefinedConstantsAreGraphPreserving,"Flag if the undefined constants do not change the graph structure")
.def_property_readonly("undefined_constants_are_graph_preserving",&storm::prism::Program::undefinedConstantsAreGraphPreserving,"Flag if the undefined constants do not change the graph structure")
.def("substitute_constants",&Program::substituteConstants,"Substitute constants within program")
.def("substitute_constants",&Program::substituteConstants,"Substitute constants within program")
.def("substitute_formulas",&Program::substituteFormulas,"Substitute formulas within program")
@ -41,6 +43,7 @@ void define_prism(py::module& m) {
.def_property_readonly("hasUndefinedConstants",&Program::hasUndefinedConstants,"Does the program have undefined constants?")
.def_property_readonly("hasUndefinedConstants",&Program::hasUndefinedConstants,"Does the program have undefined constants?")
.def_property_readonly("isDeterministicModel",&Program::isDeterministicModel,"Does the program describe a deterministic model?")
.def_property_readonly("isDeterministicModel",&Program::isDeterministicModel,"Does the program describe a deterministic model?")
.def_property_readonly("expression_manager",&Program::getManager,"Get the expression manager for expressions in this program")
.def_property_readonly("expression_manager",&Program::getManager,"Get the expression manager for expressions in this program")
.def("flatten",&Program::flattenModules,"Put program into a single module",py::arg("smt_factory")=std::shared_ptr<storm::utility::solver::SmtSolverFactory>(newstorm::utility::solver::SmtSolverFactory()))