* @param action The surf action
* @return The cost of the action
*/
-XBT_PUBLIC(int) surf_action_get_cost(surf_action_t action);
+XBT_PUBLIC(double) surf_action_get_cost(surf_action_t action);
/**
* @brief [brief desrciption]
return action->getState();
}
-int surf_action_get_cost(surf_action_t action){
+double surf_action_get_cost(surf_action_t action){
return action->getCost();
}
#ifdef HAVE_LATENCY_BOUND_TRACKING
int m_latencyLimited; /**< Set to 1 if is limited by latency, 0 otherwise */
#endif
- int m_cost;
+ double m_cost;
ModelPtr p_model;
void *p_data; /**< for your convenience */