X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/80b0dab1bd7ba4a54252a45cba41e33991e9f6ff..3fb28e990d3e18eef76fa5d21a134f0bd4e2fbaa:/src/mc/explo/UdporChecker.cpp diff --git a/src/mc/explo/UdporChecker.cpp b/src/mc/explo/UdporChecker.cpp index b29718331d..e367890ea9 100644 --- a/src/mc/explo/UdporChecker.cpp +++ b/src/mc/explo/UdporChecker.cpp @@ -214,7 +214,7 @@ void UdporChecker::restore_program_state_with_current_stack() for (const std::unique_ptr& state : state_stack) { if (state == state_stack.back()) /* If we are arrived on the target state, don't replay the outgoing transition */ break; - state->get_transition()->replay(get_remote_app()); + state->get_transition_out()->replay(get_remote_app()); } } @@ -321,20 +321,10 @@ RecordTrace UdporChecker::get_record_trace() { RecordTrace res; for (auto const& state : state_stack) - res.push_back(state->get_transition()); + res.push_back(state->get_transition_out().get()); return res; } -std::vector UdporChecker::get_textual_trace() -{ - std::vector trace; - for (auto const& state : state_stack) { - const auto* t = state->get_transition(); - trace.push_back(xbt::string_printf("%ld: %s", t->aid_, t->to_string().c_str())); - } - return trace; -} - } // namespace simgrid::mc::udpor namespace simgrid::mc {