Model::~Model()
{
delete inited_action_set_;
- delete running_action_set_;
+ delete started_action_set_;
delete failed_action_set_;
- delete done_action_set_;
+ delete finished_action_set_;
delete maxmin_system_;
}
maxmin_system_->modified_set_->pop_front();
bool max_duration_flag = false;
- if (action->get_state_set() != running_action_set_)
+ if (action->get_state_set() != started_action_set_)
continue;
/* bogus priority, skip it */
double min = -1;
- for (Action& action : *get_running_action_set()) {
+ for (Action& action : *get_started_action_set()) {
double value = action.get_variable()->get_value();
if (value > 0) {
if (action.get_remains() > 0)