-/* Copyright (c) 2016-2022. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2016-2023. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
namespace simgrid::mc {
+Exploration::Exploration(const std::vector<char*>& args) : remote_app_(std::make_unique<RemoteApp>(args))
+{
+ mc_model_checker->set_exploration(this);
+}
+
void Exploration::log_state()
{
if (not _sg_mc_dot_output_file.get().empty()) {
- fprintf(dot_output, "}\n");
- fclose(dot_output);
+ mc_model_checker->dot_output("}\n");
+ mc_model_checker->dot_output_close();
}
if (getenv("SIMGRID_MC_SYSTEM_STATISTICS")) {
int ret = system("free");