Blame view

src/ParamOutputImpl/DataMining/DataMiningInvalidInterval.hh 1002 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
31
32
33
34
35
36
37
38
39
40
/*
 * DataMiningInvalidInterval.hh
 *
 *  Created on: 3 oct. 2013
 *      Author: guillaume
 */

#ifndef DATAMININGINVALIDINTERVAL_HH_
#define DATAMININGINVALIDINTERVAL_HH_

#include "DataMiningType.hh"
#include "TimeInterval.hh"

using namespace AMDA::Parameters;
using namespace TimeTableCatalog;

namespace AMDA {
	namespace ParamOutputImpl {
		namespace DataMining {

			typedef std::list<TimeInterval> TimeIntervalList;

			class DataMiningInvalidInterval : public DataMiningType {
			public:
				DataMiningInvalidInterval(std::string pPrefixTTFileName, ParamOutputDataMining* pParamOutputDataMining);

				void createInterval(TimeIntervalList* pTimeIntervalListTooSmall);

			};

			struct DataMiningTooSmall : public DataMiningInvalidInterval {
				DataMiningTooSmall (ParamOutputDataMining* pParamOutputDataMining) :
					DataMiningInvalidInterval("TooSmall_",  pParamOutputDataMining) {
				}
			};

		} // DataMining
	} // ParamOutputImpl
} // AMDA
#endif /* DATAMININGINVALIDINTERVAL_HH_ */