#include "simulator.h" #include void define_sparse_model_simulator(py::module& m) { py::class_> dtsmsd(m, "_DiscreteTimeSparseModelSimulatorDouble", "Simulator for sparse discrete-time models in memory (ValueType = double)"); dtsmsd.def(py::init const&>()); dtsmsd.def("set_seed", &storm::simulator::DiscreteTimeSparseModelSimulator::setSeed, py::arg("seed")); dtsmsd.def("step", &storm::simulator::DiscreteTimeSparseModelSimulator::step, py::arg("action")); dtsmsd.def("random_step", &storm::simulator::DiscreteTimeSparseModelSimulator::randomStep); dtsmsd.def("get_last_reward", &storm::simulator::DiscreteTimeSparseModelSimulator::getLastRewards); dtsmsd.def("get_current_state", &storm::simulator::DiscreteTimeSparseModelSimulator::getCurrentState); dtsmsd.def("reset_to_initial_state", &storm::simulator::DiscreteTimeSparseModelSimulator::resetToInitial); }