Rename app inactive detector in C++ style 11/66111/2
authorSomin Kim <somin926.kim@samsung.com>
Fri, 15 Apr 2016 08:24:43 +0000 (17:24 +0900)
committerSomin Kim <somin926.kim@samsung.com>
Fri, 15 Apr 2016 08:40:45 +0000 (17:40 +0900)
Change-Id: I6129687b83c38f6d9221d4bbeffff1f409384849
Signed-off-by: Somin Kim <somin926.kim@samsung.com>
15 files changed:
src/statistics/app/app_inactive_detector/AppInactiveDetector.cpp [moved from src/statistics/app/app_inactive_detector/app_inactive_detector.cpp with 95% similarity]
src/statistics/app/app_inactive_detector/AppInactiveDetector.h [moved from src/statistics/app/app_inactive_detector/app_inactive_detector.h with 92% similarity]
src/statistics/app/app_inactive_detector/AppInactiveDetectorTypes.h [moved from src/statistics/app/app_inactive_detector/app_inactive_detector_types.h with 100% similarity]
src/statistics/app/app_inactive_detector/InactiveDetector.cpp [moved from src/statistics/app/app_inactive_detector/inactive_detector.cpp with 95% similarity]
src/statistics/app/app_inactive_detector/InactiveDetector.h [moved from src/statistics/app/app_inactive_detector/inactive_detector.h with 96% similarity]
src/statistics/app/app_inactive_detector/InactiveDetectorClassificator.cpp [moved from src/statistics/app/app_inactive_detector/inactive_detector_classificator.cpp with 83% similarity]
src/statistics/app/app_inactive_detector/InactiveDetectorClassificator.h [moved from src/statistics/app/app_inactive_detector/inactive_detector_classificator.h with 96% similarity]
src/statistics/app/app_inactive_detector/InactiveDetectorClassificatorKmeans.cpp [moved from src/statistics/app/app_inactive_detector/inactive_detector_classificator_kmeans.cpp with 96% similarity]
src/statistics/app/app_inactive_detector/InactiveDetectorClassificatorKmeans.h [moved from src/statistics/app/app_inactive_detector/inactive_detector_classificator_kmeans.h with 96% similarity]
src/statistics/app/app_inactive_detector/InactiveDetectorClassificatorKmeansTypes.h [moved from src/statistics/app/app_inactive_detector/inactive_detector_classificator_kmeans_types.h with 100% similarity]
src/statistics/app/app_inactive_detector/InactiveDetectorStorage.cpp [moved from src/statistics/app/app_inactive_detector/inactive_detector_storage.cpp with 97% similarity]
src/statistics/app/app_inactive_detector/InactiveDetectorStorage.h [moved from src/statistics/app/app_inactive_detector/inactive_detector_storage.h with 97% similarity]
src/statistics/app/app_inactive_detector/InactiveDetectorStorageQueries.h [moved from src/statistics/app/app_inactive_detector/inactive_detector_storage_queries.h with 99% similarity]
src/statistics/app/app_inactive_detector/InactiveDetectorWeight.cpp [moved from src/statistics/app/app_inactive_detector/inactive_detector_weight.cpp with 91% similarity]
src/statistics/app/app_inactive_detector/InactiveDetectorWeight.h [moved from src/statistics/app/app_inactive_detector/inactive_detector_weight.h with 100% similarity]

@@ -17,9 +17,9 @@
 #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;
@@ -18,8 +18,8 @@
 #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()
@@ -20,7 +20,7 @@
 #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)
 {
@@ -25,4 +25,4 @@ int ctx::inactive_detector_classificator::classify(std::vector<app_t> *apps_with
        int error = kmeans.classify(apps_with_weights);
 
        return error;
-}
\ No newline at end of file
+}
@@ -18,7 +18,7 @@
 #define __CONTEXT_INACTIVE_DETECTOR_CLASSIFICATOR_H__
 
 #include <vector>
-#include "app_inactive_detector_types.h"
+#include "AppInactiveDetectorTypes.h"
 #include <Json.h>
 
 namespace ctx {
@@ -14,9 +14,9 @@
  * 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>
 
@@ -18,7 +18,7 @@
 #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()
 {
@@ -18,7 +18,7 @@
 #define __CONTEXT_INACTIVE_DETECTOR_STORAGE_H__
 
 #include <vector>
-#include "app_inactive_detector_types.h"
+#include "AppInactiveDetectorTypes.h"
 #include <Json.h>
 #include <DatabaseManager.h>
 
@@ -15,9 +15,8 @@
  */
 
 #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)
@@ -27,4 +26,4 @@ int ctx::inactive_detector_weight::request_weights(
        int error = ids.get_apps_info_w_weights(timestamp_from);
 
        return error;
-}
\ No newline at end of file
+}