void heapInsert(xbt_heap_t heap, double key, enum heap_action_type hat);
void heapRemove(xbt_heap_t heap);
double getRemains(); /**< Get the remains of an action */
void updateIndexHeap(int i);
void heapInsert(xbt_heap_t heap, double key, enum heap_action_type hat);
void heapRemove(xbt_heap_t heap);
double getRemains(); /**< Get the remains of an action */
void updateIndexHeap(int i);