delete started_action_set_;
delete failed_action_set_;
delete finished_action_set_;
+ delete ignored_action_set_;
delete maxmin_system_;
}
double Model::next_occuring_event(double now)
{
// FIXME: set the good function once and for all
- if (update_algorithm_ == Model::UpdateAlgo::Lazy)
+ if (update_algorithm_ == Model::UpdateAlgo::LAZY)
return next_occuring_event_lazy(now);
- else if (update_algorithm_ == Model::UpdateAlgo::Full)
+ else if (update_algorithm_ == Model::UpdateAlgo::FULL)
return next_occuring_event_full(now);
else
xbt_die("Invalid cpu update mechanism!");
void Model::update_actions_state(double now, double delta)
{
- if (update_algorithm_ == Model::UpdateAlgo::Full)
+ if (update_algorithm_ == Model::UpdateAlgo::FULL)
update_actions_state_full(now, delta);
- else if (update_algorithm_ == Model::UpdateAlgo::Lazy)
+ else if (update_algorithm_ == Model::UpdateAlgo::LAZY)
update_actions_state_lazy(now, delta);
else
xbt_die("Invalid cpu update mechanism!");