Weather casting with Machine Learning (SVM and SRNN).
Dependencies: EthernetInterface GraphicHandler NTPClient SRNN SVM SensorModule mbed-rtos mbed
Diff: main.hpp
- Revision:
- 2:20ecfe6edd71
- Parent:
- 1:8538381cae81
- Child:
- 3:5add3759e08a
--- a/main.hpp Mon Feb 16 07:53:45 2015 +0000 +++ b/main.hpp Wed Feb 18 15:02:16 2015 +0000 @@ -6,20 +6,19 @@ #include "EthernetInterface.h" #include "NTPClient.h" +#include "HTTPServer.h" #include "MCSVM.hpp" #include "SRNN.hpp" #include "SensorModule.hpp" #include "GraphicHandler.hpp" +#include "main_util.hpp" #include "share.hpp" #include "setup.hpp" #include "./debug/debug.hpp" // -// 時間(global) -extern time_t global_time; // 現在時刻 -extern Mutex time_mutex; // 時間のMutex // Pointer to Class instance (global) extern SRNN *srnn; extern MCSVM *mcsvm; @@ -27,9 +26,14 @@ extern GraphicHandler *graphic_handler; // ネットワーク関係(global) extern EthernetInterface eth_if; -extern TCPSocketServer http_server; +extern HTTPServer *http_server; extern NTPClient ntp_client; // ファイルシステム(global) extern LocalFileSystem *local_fs; +// 系列データ(global) +extern float* new_seqence_data; // 現在の(一番新しい)系列データ +extern float* new_predict_data; // 現在の予測結果 +extern int* new_predict_weather; // 現在の予測天気 +extern float* new_predict_probability; // 現在の予測天気の確率(厳密には,確率ではない...) #endif /* MAIN_H_INCLUDED */ \ No newline at end of file