|
@ -6,13 +6,14 @@ |
|
|
#include "storm/solver/OptimizationDirection.h"
|
|
|
#include "storm/solver/OptimizationDirection.h"
|
|
|
#include "storm/models/symbolic/StandardRewardModel.h"
|
|
|
#include "storm/models/symbolic/StandardRewardModel.h"
|
|
|
#include "storm-parsers/api/storm-parsers.h"
|
|
|
#include "storm-parsers/api/storm-parsers.h"
|
|
|
|
|
|
|
|
|
|
|
|
#include "storm-counterexamples/settings/modules/CounterexampleGeneratorSettings.h"
|
|
|
|
|
|
|
|
|
void define_core(py::module& m) { |
|
|
void define_core(py::module& m) { |
|
|
// Init
|
|
|
// Init
|
|
|
m.def("_set_up", [](std::string const& args) { |
|
|
m.def("_set_up", [](std::string const& args) { |
|
|
storm::utility::setUp(); |
|
|
storm::utility::setUp(); |
|
|
storm::settings::initializeAll("StoRM-Py", "stormpy"); |
|
|
storm::settings::initializeAll("StoRM-Py", "stormpy"); |
|
|
|
|
|
storm::settings::addModule<storm::settings::modules::CounterexampleGeneratorSettings>(); |
|
|
storm::settings::SettingsManager::manager().setFromString(args); |
|
|
storm::settings::SettingsManager::manager().setFromString(args); |
|
|
}, "Initialize Storm", py::arg("arguments")); |
|
|
}, "Initialize Storm", py::arg("arguments")); |
|
|
|
|
|
|
|
|