|
|
@ -18,6 +18,9 @@ void define_formulae(py::module& m) { |
|
|
|
formula.def("__str__", &storm::logic::Formula::toString) |
|
|
|
.def("clone", [](storm::logic::Formula const& f) { storm::logic::CloneVisitor cv; return cv.clone(f);}) |
|
|
|
.def("substitute_labels_by_labels", [](storm::logic::Formula const& f, std::map<std::string, std::string> const& labelSubs) {storm::logic::LabelSubstitutionVisitor lsv(labelSubs); return lsv.substitute(f);}, "substitute label occurences", py::arg("replacements")) |
|
|
|
.def_property_readonly("is_probability_operator", &storm::logic::Formula::isProbabilityOperatorFormula, "is it a probability operator") |
|
|
|
.def_property_readonly("is_reward_operator", &storm::logic::Formula::isRewardOperatorFormula, "is it a reward operator") |
|
|
|
|
|
|
|
; |
|
|
|
|
|
|
|
// Path Formulae
|
|
|
|