INSTITUT FÃR INFORMATIK Entwurf und Implementierung - Ludwig ...
INSTITUT FÃR INFORMATIK Entwurf und Implementierung - Ludwig ...
INSTITUT FÃR INFORMATIK Entwurf und Implementierung - Ludwig ...
Erfolgreiche ePaper selbst erstellen
Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.
Anhang C<br />
Quellcode des PredictionSystem<br />
1 #if !defined PREDICTION_SYSTEM_H<br />
2 #define PREDICTION_SYSTEM_H<br />
3<br />
4 #include "AnalysisFramework.h"<br />
5<br />
6 using namespace std;<br />
7<br />
8 class PredictionSystem;<br />
9 class Parameter;<br />
10<br />
11 /////////////////////////////////////////////////////////////////////////////<br />
12 /// PredictionSystem<br />
13 /// Class modelling the prediction system as a state machine<br />
14 /// with regards to a specific prediction characteristic (SPH,SOP,FPRmax)<br />
15 ///<br />
16 /// @remarks uses project wide settings defined in AnalysisProject<br />
17 ///<br />
18 /////////////////////////////////////////////////////////////////////////////<br />
19 class PredictionSystem<br />
20 {<br />
21 public:<br />
22 PredictionSystem();<br />
23<br />
24 void SetParameter(Parameter* para) { parameter=para; }<br />
25<br />
26 void SignalAlarm(time_t alarmTime);<br />
27 void SignalSeizure(TimePeriod seizure);<br />
28<br />
29 void SetLastSeizure(int lastSeizure) { this->lastSeizure=lastSeizure; }<br />
30 int GetLastSeizure() { return this->lastSeizure; }<br />
31<br />
32 protected:<br />
33<br />
xiii