Browse Source

initialise counterexample settings

refactoring
Sebastian Junges 6 years ago
parent
commit
2bb610885a
  1. 3
      src/core/core.cpp

3
src/core/core.cpp

@ -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"));

Loading…
Cancel
Save