DataMiningInvalidInterval.cc 773 Bytes
/*
 * DataMiningInvalidInterval.cc
 *
 *  Created on: 3 oct. 2013
 *      Author: guillaume
 */

#include "DataMiningInvalidInterval.hh"


using namespace AMDA::Parameters;

namespace AMDA {
	namespace ParamOutputImpl {
		namespace DataMining {


			DataMiningInvalidInterval::DataMiningInvalidInterval(std::string pPrefixTTFileName, ParamOutputDataMining* pParamOutputDataMining) :
					DataMiningType(pParamOutputDataMining, pPrefixTTFileName) {
			}

			void DataMiningInvalidInterval::createInterval(TimeIntervalList* pTimeIntervalListTooSmall) {
				for (TimeIntervalList::iterator it = pTimeIntervalListTooSmall->begin(); it != pTimeIntervalListTooSmall->end(); ++it) {
					_timeTable->addInterval(*it);
				}
			}

		} // DataMining
	} // ParamOutputImpl
} // AMDA