Blame view

src/ParamOutputImpl/DataMining/DataMiningInvalidInterval.cc 773 Bytes
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * 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