|
|
@ -25,10 +25,9 @@ void define_expressions(py::module& m) { |
|
|
|
.def("create_boolean_variable", &storm::expressions::ExpressionManager::declareBooleanVariable, "create Boolean variable", py::arg("name"), py::arg("auxiliary") = false) |
|
|
|
.def("create_integer_variable", &storm::expressions::ExpressionManager::declareIntegerVariable, "create Integer variable", py::arg("name"), py::arg("auxiliary") = false) |
|
|
|
.def("create_rational_variable", &storm::expressions::ExpressionManager::declareRationalVariable, "create Rational variable", py::arg("name"), py::arg("auxiliary") = false) |
|
|
|
.def("get_variable", &storm::expressions::ExpressionManager::getVariable, "get variably by name", py::arg("name")) |
|
|
|
; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Variable
|
|
|
|
py::class_<storm::expressions::Variable, std::shared_ptr<storm::expressions::Variable>>(m, "Variable", "Represents a variable") |
|
|
|
.def_property_readonly("name", &storm::expressions::Variable::getName, "Variable name") |
|
|
|