Changed learn_period_map from std::map to std::multimap to allow multiple learn_periods with the same begin time