Browse Source

flags for: a model is discrete_time, a model is nondeterministic

refactoring
Sebastian Junges 5 years ago
parent
commit
81703b7851
  1. 2
      src/storage/model.cpp

2
src/storage/model.cpp

@ -106,6 +106,8 @@ void define_model(py::module& m) {
.def_property_readonly("is_exact", &ModelBase::isExact, "Flag whether model is exact")
.def_property_readonly("is_sparse_model", &ModelBase::isSparseModel, "Flag whether the model is stored as a sparse model")
.def_property_readonly("is_symbolic_model", &ModelBase::isSymbolicModel, "Flag whether the model is stored using decision diagrams")
.def_property_readonly("is_discrete_time_model", &ModelBase::isDiscreteTimeModel, "Flag whether the model is a discrete time model")
.def_property_readonly("is_nondeterministic_model", &ModelBase::isNondeterministicModel, "Flag whether the model contains nondeterminism")
.def("_as_sparse_dtmc", [](ModelBase &modelbase) {
return modelbase.as<SparseDtmc<double>>();
}, "Get model as sparse DTMC")

Loading…
Cancel
Save