← Documentation
ADS-IDAC Engine 5.0.0
MRParameterUnit.h
Go to the documentation of this file.
1#pragma once
2
3// MRParameterUnit.h: interface for the MRParameterUnit class.
4//
6
7#include "MRValueSchema.h"
8#include <vector>
9#include <memory>
10#include "IDElement.h"
11#include "Statement.h"
12#include "KnowledgeElement.h"
13
15 public IDElement
16{
17public:
21 void ErrorMessage(std::string str);
24 void PrintMessage(std::string);
25 void AddNewRateForFirstRoundCheck(float, int);
26 void AddNewValueForFirstRoundCheck(float, int);
27 void ReadParameterRate(double);
28 void ReadParameterValue(double);
30 void ReadParameterIndication(double);
32 void AddNewRate(float , int, bool);
33 void AddNewValue(float , int, bool);
34
40
43
45 std::string m_ID_recent_trend;
46
49
50 std::vector<std::unique_ptr<MRValueSchema>> m_parameter_history_value;
51 std::vector<std::unique_ptr<MRValueSchema>> m_parameter_history_rate;
52 std::unique_ptr<MRValueSchema> m_recent_parameter_value;
53 std::unique_ptr<MRValueSchema> m_recent_parameter_rate;
54
56 virtual ~MRParameterUnit();
57
58};
std::string m_parameter_concept_ID
std::string m_ID_recent_trend
float m_decrease_rate_threshold
MRValueSchema * FindAReadingConsistantWithASentenceWithinTimeRange(float _start, float _end, SentenceUnit *_sent_pt)
void ReadParameterRate(double)
Statement * m_recent_trend
void AddNewRateForFirstRoundCheck(float, int)
std::string m_parameter_indicator_ID
void PrintMessage(std::string)
void AddNewRate(float, int, bool)
std::unique_ptr< MRValueSchema > m_recent_parameter_rate
void AddNewValue(float, int, bool)
virtual ~MRParameterUnit()
IDElement * m_Concept_ID_pt
std::vector< std::unique_ptr< MRValueSchema > > m_parameter_history_rate
void UpdateTheRelevantInvestigator(int)
void AddNewValueForFirstRoundCheck(float, int)
MRValueSchema * FoundAValueReadingWithinTimeRange(float, float)
float m_increase_rate_threshold
float m_decrease_threshold
float m_increase_threshold
void ReadParameterIndication(double)
void ErrorMessage(std::string str)
void BuildConnectionsForThisMRParameter(void *)
void CopyMRParameterUnitInforFromAnother(MRParameterUnit *)
std::string m_parameter_rate_indicator_ID
void ReadParameterValue(double)
std::vector< std::unique_ptr< MRValueSchema > > m_parameter_history_value
std::unique_ptr< MRValueSchema > m_recent_parameter_value
MRValueSchema * FindAReadingInconsistantWithASentenceWithinTimeRange(float _start, float _end, SentenceUnit *_sent_pt)
MRValueSchema * CheckReadingWithinTimeRange(double, double)