+ long long int id_;
+
+ double priority_ = 1.0;
+ double bound_ = 0.0; /* Capping for CPU resource, or 0 for no capping */
+ double rate_ = -1; /* Capping for network resource, or -1 for no capping*/
+ bool is_used_ = false; /* Indicates whether the task is used in SIMIX currently */
+
+ explicit Task(std::string name, double flops_amount, double bytes_amount, void* data);
+ explicit Task(std::string name, std::vector<s4u::Host*> hosts, std::vector<double> flops_amount,
+ std::vector<double> bytes_amount, void* data);
+
+ void report_multiple_use() const;