#include <Types.h>
#include <ContextManager.h>
#include <Json.h>
-#include "app_inactive_detector.h"
-#include "app_inactive_detector_types.h"
-#include "inactive_detector.h"
+#include "AppInactiveDetector.h"
+#include "AppInactiveDetectorTypes.h"
+#include "InactiveDetector.h"
ctx::app_inactive_detector_provider *ctx::app_inactive_detector_provider::__instance = NULL;
#define __CONTEXT_APP_INACTIVE_DETECTOR_H__
#include <ContextProviderBase.h>
-#include "app_inactive_detector_types.h"
-#include "inactive_detector.h"
+#include "AppInactiveDetectorTypes.h"
+#include "InactiveDetector.h"
namespace ctx {
#include <ctime>
#include <Types.h>
-#include "inactive_detector.h"
-#include "inactive_detector_weight.h"
-#include "inactive_detector_storage.h"
-#include "inactive_detector_classificator.h"
+#include "InactiveDetector.h"
+#include "InactiveDetectorWeight.h"
+#include "InactiveDetectorStorage.h"
+#include "InactiveDetectorClassificator.h"
#include "TimerManager.h"
ctx::inactive_detector::inactive_detector()
#include <string>
#include <Json.h>
#include <vector>
-#include "app_inactive_detector_types.h"
+#include "AppInactiveDetectorTypes.h"
#include <TimerManager.h>
namespace ctx {
* limitations under the License.
*/
#include <Types.h>
-#include "inactive_detector.h"
-#include "app_inactive_detector_types.h"
-#include "inactive_detector_classificator.h"
-#include "inactive_detector_classificator_kmeans.h"
+#include "InactiveDetector.h"
+#include "AppInactiveDetectorTypes.h"
+#include "InactiveDetectorClassificator.h"
+#include "InactiveDetectorClassificatorKmeans.h"
int ctx::inactive_detector_classificator::classify(std::vector<app_t> *apps_with_weights)
{
int error = kmeans.classify(apps_with_weights);
return error;
-}
\ No newline at end of file
+}
#define __CONTEXT_INACTIVE_DETECTOR_CLASSIFICATOR_H__
#include <vector>
-#include "app_inactive_detector_types.h"
+#include "AppInactiveDetectorTypes.h"
#include <Json.h>
namespace ctx {
* limitations under the License.
*/
#include <Types.h>
-#include "app_inactive_detector_types.h"
-#include "inactive_detector_classificator_kmeans.h"
-#include "inactive_detector_classificator_kmeans_types.h"
+#include "AppInactiveDetectorTypes.h"
+#include "InactiveDetectorClassificatorKmeans.h"
+#include "InactiveDetectorClassificatorKmeansTypes.h"
#include <math.h>
#include <stdlib.h>
#define __CONTEXT_INACTIVE_DETECTOR_CLASSIFICATOR_KMEANS_H__
#include <vector>
-#include "inactive_detector_classificator_kmeans_types.h"
+#include "InactiveDetectorClassificatorKmeansTypes.h"
#include <Json.h>
namespace ctx {
#include <string>
#include <memory>
#include <Types.h>
-#include "inactive_detector.h"
-#include "inactive_detector_storage.h"
-#include "inactive_detector_storage_queries.h"
-#include "inactive_detector_classificator.h"
-#include "app_inactive_detector_types.h"
+#include "InactiveDetector.h"
+#include "InactiveDetectorStorage.h"
+#include "InactiveDetectorStorageQueries.h"
+#include "InactiveDetectorClassificator.h"
+#include "AppInactiveDetectorTypes.h"
/*int ctx::inactive_detector_storage::create_table()
{
#define __CONTEXT_INACTIVE_DETECTOR_STORAGE_H__
#include <vector>
-#include "app_inactive_detector_types.h"
+#include "AppInactiveDetectorTypes.h"
#include <Json.h>
#include <DatabaseManager.h>
#define __CONTEXT_INACTIVE_DETECTOR_STORAGE_QUERIES_H__
#include <vector>
-#include "app_inactive_detector_types.h"
+#include "AppInactiveDetectorTypes.h"
/*
*/
#include <Types.h>
-#include "inactive_detector_weight.h"
-#include "inactive_detector_storage.h"
-
+#include "InactiveDetectorWeight.h"
+#include "InactiveDetectorStorage.h"
int ctx::inactive_detector_weight::request_weights(
double timestamp_from)
int error = ids.get_apps_info_w_weights(timestamp_from);
return error;
-}
\ No newline at end of file
+}