Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add wait guide and mofidication for the heuristic computation
[simgrid.git] / src / mc / transition / TransitionAny.cpp
index 74c84e080d468ab963f71477ce86f16ec8a8232f..20f28d7874aec2cf3b29fb46c4931f87263701fc 100644 (file)
@@ -1,14 +1,15 @@
-/* Copyright (c) 2015-2022. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2015-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. */
 
 #include "src/mc/transition/TransitionAny.hpp"
+#include "simgrid/config.h"
 #include "xbt/asserts.h"
-#include <simgrid/config.h>
+#include "xbt/string.hpp"
 #if SIMGRID_HAVE_MC
 #include "src/mc/ModelChecker.hpp"
-#include "src/mc/Session.hpp"
+#include "src/mc/api/RemoteApp.hpp"
 #include "src/mc/api/State.hpp"
 #endif
 
@@ -16,8 +17,7 @@
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_trans_any, mc_transition, "Logging specific to MC WaitAny / TestAny transitions");
 
-namespace simgrid {
-namespace mc {
+namespace simgrid::mc {
 
 TestAnyTransition::TestAnyTransition(aid_t issuer, int times_considered, std::stringstream& stream)
     : Transition(Type::TESTANY, issuer, times_considered)
@@ -65,5 +65,4 @@ bool WaitAnyTransition::depends(const Transition* other) const
   return transitions_[times_considered_]->depends(other);
 }
 
-} // namespace mc
-} // namespace simgrid
+} // namespace simgrid::mc