← Documentation
ADS-IDAC Engine 5.0.0
KnowledgeElement Class Reference

#include <KnowledgeElement.h>

Inheritance diagram for KnowledgeElement:
[legend]
Collaboration diagram for KnowledgeElement:
[legend]

Public Member Functions

void BuildTheConnectionsToThisKE (void *)
 
void CopyStaticKEinfoFromAnother (KnowledgeElement *)
 
void ConvertKEinfoToStringForm ()
 
void PrintThisKE ()
 
void ErrorMessage (std::string)
 
void ReadThisKEFromFile (std::ifstream &)
 
 KnowledgeElement ()
 
virtual ~KnowledgeElement ()
 
- Public Member Functions inherited from IDElement
void CopyIDElementToRestartInfo (IDElement *)
 
 IDElement ()
 
virtual ~IDElement ()
 
template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Public Attributes

int m_operator
 
bool m_negation
 
int m_satisfied
 
std::string m_ID_sent
 
SentenceUnit * m_SentenceUnit_pt
 
- Public Attributes inherited from IDElement
int m_ID_Type
 
std::string m_ID
 

Detailed Description

Definition at line 11 of file KnowledgeElement.h.

Constructor & Destructor Documentation

◆ KnowledgeElement()

KnowledgeElement::KnowledgeElement ( )

Definition at line 22 of file KnowledgeElement.cpp.

References m_ID_sent, IDElement::m_ID_Type, and m_negation.

◆ ~KnowledgeElement()

KnowledgeElement::~KnowledgeElement ( )
virtual

Definition at line 29 of file KnowledgeElement.cpp.

Member Function Documentation

◆ BuildTheConnectionsToThisKE()

void KnowledgeElement::BuildTheConnectionsToThisKE ( void *  _pt)

Definition at line 118 of file KnowledgeElement.cpp.

References ErrorMessage(), m_ID_sent, m_SentenceUnit_pt, and ReasonMachine::SearchSentenceByID().

Here is the call graph for this function:

◆ ConvertKEinfoToStringForm()

void KnowledgeElement::ConvertKEinfoToStringForm ( )

Definition at line 105 of file KnowledgeElement.cpp.

References IDElement::m_ID, m_ID_sent, and m_SentenceUnit_pt.

◆ CopyStaticKEinfoFromAnother()

void KnowledgeElement::CopyStaticKEinfoFromAnother ( KnowledgeElement *  _KE_pt)

Definition at line 110 of file KnowledgeElement.cpp.

References IDElement::CopyIDElementToRestartInfo(), m_ID_sent, m_negation, and m_operator.

Here is the call graph for this function:

◆ ErrorMessage()

void KnowledgeElement::ErrorMessage ( std::string  )

Definition at line 92 of file KnowledgeElement.cpp.

References r5pars_.

Referenced by BuildTheConnectionsToThisKE(), and ReadThisKEFromFile().

Here is the caller graph for this function:

◆ PrintThisKE()

void KnowledgeElement::PrintThisKE ( )

Definition at line 100 of file KnowledgeElement.cpp.

References IDElement::m_ID.

◆ ReadThisKEFromFile()

void KnowledgeElement::ReadThisKEFromFile ( std::ifstream &  )

Definition at line 35 of file KnowledgeElement.cpp.

References SimulationContext::Action_Taker, SimulationContext::Decision_Maker, ErrorMessage(), ReasonMachine::FindKnowledgeElementByID(), g_sim, IDElement::m_ID, m_negation, m_operator, Operator::m_RM, m_SentenceUnit_pt, sim::Operator::OAT, sim::Operator::ODM, and ReasonMachine::SearchSentenceByID().

Here is the call graph for this function:

Member Data Documentation

◆ m_ID_sent

◆ m_negation

◆ m_operator

◆ m_satisfied

int KnowledgeElement::m_satisfied

Definition at line 23 of file KnowledgeElement.h.

Referenced by boost::serialization::serialize().

◆ m_SentenceUnit_pt

SentenceUnit* KnowledgeElement::m_SentenceUnit_pt

The documentation for this class was generated from the following files: