#include "src/surf/surf_private.h"
#include "surf/surf.h"
-#include "surf/surf_routing.h"
#include "xbt/str.h"
#include <boost/intrusive/list.hpp>
void setCategory(const char *category);
/** @brief Get the priority of the current Action */
- double getPriority() {return priority_;};
+ double getPriority() { return sharingWeight_; };
/** @brief Set the priority of the current Action */
- virtual void setPriority(double priority);
+ virtual void setSharingWeight(double priority);
/** @brief Get the state set in which the action is */
ActionList* getStateSet() {return stateSet_;};
protected:
ActionList* stateSet_;
- double priority_ = 1.0; /**< priority (1.0 by default) */
+ double sharingWeight_ = 1.0; /**< priority (1.0 by default) */
int refcount_ = 1;
double remains_; /**< How much of that cost remains to be done in the currently running task */
double maxDuration_ = NO_MAX_DURATION; /*< max_duration (may fluctuate until the task is completed) */