Browse Source

property is now added, boost::none is used to avoid confusion in parse_property definitions

refactoring
Sebastian Junges 8 years ago
parent
commit
8e7a71148e
  1. 4
      src/core/core.cpp
  2. 1
      src/mod_core.cpp

4
src/core/core.cpp

@ -11,8 +11,8 @@ void define_core(py::module& m) {
void define_parse(py::module& m) {
// Parse formulas
m.def("parse_properties", &storm::parsePropertiesForExplicit, "Parse explicit formulas", py::arg("formula_string"), py::arg("property_filter") = nullptr);
m.def("parse_properties_for_prism_program", &storm::parsePropertiesForPrismProgram, "Parse formulas for prism program", py::arg("formula_string"), py::arg("prism_program"), py::arg("property_filter") = nullptr);
m.def("parse_properties", &storm::parsePropertiesForExplicit, "Parse explicit formulas", py::arg("formula_string"), py::arg("property_filter") = boost::none);
m.def("parse_properties_for_prism_program", &storm::parsePropertiesForPrismProgram, "Parse formulas for prism program", py::arg("formula_string"), py::arg("prism_program"), py::arg("property_filter") = boost::none);
// Pair <Model,Formulas>
py::class_<storm::storage::ModelFormulasPair>(m, "ModelFormulasPair", "Pair of model and formulas")

1
src/mod_core.cpp

@ -16,6 +16,7 @@ PYBIND11_PLUGIN(core) {
define_core(m);
define_property(m);
define_parse(m);
define_build(m);
define_result(m);

Loading…
Cancel
Save