← Documentation
ADS-IDAC Engine 5.0.0
KnowledgeUnit.h
Go to the documentation of this file.
1#pragma once
2
3// KnowledgeUnit.h: interface for the KnowledgeUnit class.
4//
6
7#include "KnowledgeElement.h"
8#include "KnowledgeNode.h"
9
11 public IDElement
12{
13public:
14 void BuildConnectionsToThisKU(void *);
17 void ErrorMessage(std::string);
18 void ReadKnowledgeUnitFromInputFile(std::ifstream &);
19
20 std::string m_ID_desscendant;
21 std::string m_ID_anscestor;
22 std::string m_ID_permission;
23
27
28 float m_deltaT1;
29 float m_deltaT2;
36 // type 0: No inference relation
37 // type 1: B is true when A is true; B is not true when A is not true
38 // type 2: A is true when B is true; A is not true when B is not true
39 // type 3: A == B;
41 // type 0: no causal relation
42 // type 1: A is the only cause of B
43 // type 2: A causes B, but it is not the only cause
44 // type 3: A might cause B with uncertainty
45
47 // type 1: natural rule;
48 // type 2: system's auto control rule;
49
51 virtual ~KnowledgeUnit();
52
53};
IDElement * m_Descendant_pt
Definition: KnowledgeUnit.h:24
void ErrorMessage(std::string)
IDElement * m_Permission_pt
Definition: KnowledgeUnit.h:26
IDElement * m_Ancestor_pt
Definition: KnowledgeUnit.h:25
float m_knowledge_strength
Definition: KnowledgeUnit.h:32
void BuildConnectionsToThisKU(void *)
bool m_accessable_bl
Definition: KnowledgeUnit.h:34
double m_forward_retrieve_weight
Definition: KnowledgeUnit.h:31
void ReadKnowledgeUnitFromInputFile(std::ifstream &)
std::string m_ID_permission
Definition: KnowledgeUnit.h:22
virtual ~KnowledgeUnit()
void CopyStaticKnowledgeUnitInfoFromAnother(KnowledgeUnit *)
void ConvertKnowledgeLinkInfoToString()
std::string m_ID_desscendant
Definition: KnowledgeUnit.h:20
std::string m_ID_anscestor
Definition: KnowledgeUnit.h:21
double m_backward_retrieve_weight
Definition: KnowledgeUnit.h:30