Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Implement a second veto on start. Activity must be assigned to a resource
[simgrid.git] / include / simgrid / s4u / Exec.hpp
index 19fa207..f9a4007 100644 (file)
@@ -81,6 +81,7 @@ public:
   double get_finish_time() const;
   double get_cost() const;
   bool is_parallel() const { return parallel_; }
+  bool is_assigned() { return not hosts_.empty(); }
 };
 
 } // namespace s4u