Weather casting with Machine Learning (SVM and SRNN).

Dependencies:   EthernetInterface GraphicHandler NTPClient SRNN SVM SensorModule mbed-rtos mbed

Revision:
1:8538381cae81
Parent:
0:f6cdb984f638
Child:
2:20ecfe6edd71
--- a/main.hpp	Sun Feb 15 09:28:23 2015 +0000
+++ b/main.hpp	Mon Feb 16 07:53:45 2015 +0000
@@ -4,22 +4,18 @@
 #include "mbed.h"
 #include "rtos.h"
 
-#include "share.hpp"
-#include "setup.hpp"
+#include "EthernetInterface.h"
+#include "NTPClient.h"
 
 #include "MCSVM.hpp"
 #include "SRNN.hpp"
 #include "SensorModule.hpp"
 #include "GraphicHandler.hpp"
 
-#include "./debug/debug.hpp"
+#include "share.hpp"
+#include "setup.hpp"
 
-#define PREDICT_LENGTH        (3)               // 予測系列長
-#define PREDICT_INTERVAL_TIME (1 * 60 * 60)     // 予測間隔 : 1h
-#define LEN_DATA_SEQUENCE     (100)             // 観測データの履歴長
-#define NUM_WEATHERS          (4)               // 気候の種類
-#define DIM_SIGNAL            (3)               // 信号の次元(=センサの数)
-#define MCSVM_NUM_SAMPLES     (200)             // MCSVMのサンプル数
+#include "./debug/debug.hpp" // 
 
 // 時間(global)
 extern time_t global_time;      // 現在時刻
@@ -27,7 +23,13 @@
 // Pointer to Class instance (global)
 extern SRNN            *srnn;
 extern MCSVM           *mcsvm;
-extern SensorModule    *sm;
-extern GraphicHandler  *gh;
+extern SensorModule    *sensor_module;
+extern GraphicHandler  *graphic_handler;
+// ネットワーク関係(global)
+extern EthernetInterface    eth_if;
+extern TCPSocketServer      http_server;
+extern NTPClient            ntp_client;
+// ファイルシステム(global)
+extern LocalFileSystem      *local_fs;
 
 #endif /* MAIN_H_INCLUDED */
\ No newline at end of file