Weather casting with Machine Learning (SVM and SRNN).

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

main.hpp

Committer:
yukari_hinata
Date:
2015-02-18
Revision:
2:20ecfe6edd71
Parent:
1:8538381cae81
Child:
3:5add3759e08a

File content as of revision 2:20ecfe6edd71:

#ifndef MAIN_H_INCLUDED
#define MAIN_H_INCLUDED

#include "mbed.h"
#include "rtos.h"

#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" // 

// Pointer to Class instance (global)
extern SRNN            *srnn;
extern MCSVM           *mcsvm;
extern SensorModule    *sensor_module;
extern GraphicHandler  *graphic_handler;
// ネットワーク関係(global)
extern EthernetInterface    eth_if;
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 */