Browse Source

Jani: Added new fields of InformationObject.

refactoring
Tim Quatmann 5 years ago
parent
commit
3531da5424
  1. 6
      src/storage/jani.cpp

6
src/storage/jani.cpp

@ -163,7 +163,11 @@ void define_jani(py::module& m) {
informationObject.def_readwrite("model_type", &InformationObject::modelType) informationObject.def_readwrite("model_type", &InformationObject::modelType)
.def_readwrite("nr_automata", &InformationObject::nrAutomata) .def_readwrite("nr_automata", &InformationObject::nrAutomata)
.def_readwrite("nr_edges", &InformationObject::nrEdges) .def_readwrite("nr_edges", &InformationObject::nrEdges)
.def_readwrite("nr_variables", &InformationObject::nrVariables);
.def_readwrite("nr_variables", &InformationObject::nrVariables)
.def_readwrite("state_domain_size", &InformationObject::stateDomainSize)
.def_readwrite("avg_var_domain_size", &InformationObject::avgVarDomainSize);
m.def("collect_information", [](const Model& model) {return storm::jani::collectModelInformation(model);}); m.def("collect_information", [](const Model& model) {return storm::jani::collectModelInformation(model);});
} }
Loading…
Cancel
Save