A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement a second veto on start. Activity must be assigned to a resource
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Exec.hpp
diff --git
a/include/simgrid/s4u/Exec.hpp
b/include/simgrid/s4u/Exec.hpp
index
19fa207
..
f9a4007
100644
(file)
--- a/
include/simgrid/s4u/Exec.hpp
+++ b/
include/simgrid/s4u/Exec.hpp
@@
-81,6
+81,7
@@
public:
double get_finish_time() const;
double get_cost() const;
bool is_parallel() const { return parallel_; }
double get_finish_time() const;
double get_cost() const;
bool is_parallel() const { return parallel_; }
+ bool is_assigned() { return not hosts_.empty(); }
};
} // namespace s4u
};
} // namespace s4u