Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add wait guide and mofidication for the heuristic computation
[simgrid.git] / src / mc / api / ActorState.hpp
index 97cf05a..d407e5b 100644 (file)
@@ -114,7 +114,7 @@ public:
   }
   void mark_done() { this->state_ = InterleavingType::done; }
 
-  inline Transition* get_transition(unsigned times_considered)
+  inline Transition* get_transition(unsigned times_considered) const
   {
     xbt_assert(times_considered < this->pending_transitions_.size(),
                "Actor %ld does not have a state available transition with `times_considered = %u`,\n"