DataMiningInvalidInterval.hh 1002 Bytes
/*
 * 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_ */