|
ADS-IDAC Engine 5.0.0
|
#include <KnowledgeElement.h>
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 |
Definition at line 11 of file KnowledgeElement.h.
| KnowledgeElement::KnowledgeElement | ( | ) |
Definition at line 22 of file KnowledgeElement.cpp.
References m_ID_sent, IDElement::m_ID_Type, and m_negation.
|
virtual |
Definition at line 29 of file KnowledgeElement.cpp.
| void KnowledgeElement::BuildTheConnectionsToThisKE | ( | void * | _pt | ) |
Definition at line 118 of file KnowledgeElement.cpp.
References ErrorMessage(), m_ID_sent, m_SentenceUnit_pt, and ReasonMachine::SearchSentenceByID().
| void KnowledgeElement::ConvertKEinfoToStringForm | ( | ) |
Definition at line 105 of file KnowledgeElement.cpp.
References IDElement::m_ID, m_ID_sent, and m_SentenceUnit_pt.
| 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.
| void KnowledgeElement::ErrorMessage | ( | std::string | ) |
Definition at line 92 of file KnowledgeElement.cpp.
References r5pars_.
Referenced by BuildTheConnectionsToThisKE(), and ReadThisKEFromFile().
| void KnowledgeElement::PrintThisKE | ( | ) |
Definition at line 100 of file KnowledgeElement.cpp.
References IDElement::m_ID.
| 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().
| std::string KnowledgeElement::m_ID_sent |
Definition at line 24 of file KnowledgeElement.h.
Referenced by BuildTheConnectionsToThisKE(), ConvertKEinfoToStringForm(), CopyStaticKEinfoFromAnother(), KnowledgeElement(), and boost::serialization::serialize().
| bool KnowledgeElement::m_negation |
Definition at line 22 of file KnowledgeElement.h.
Referenced by EventSchemaBase::AddNewSymptomCaseWithNewInvestigatorIfNecessary(), MRParameterUnit::AddNewValue(), Investigator::BackwardPropagateConfidenceLevel(), Investigator::CheckWhetherTheFoundStatementConsistantWithKE(), Investigator::CompareKEandStatement3007(), CopyStaticKEinfoFromAnother(), Investigator::EvaluateAfterGetNewFeedback3014(), EventSchemaBase::FindACorrespondingEventSchemaUnitByKE(), ReasonMachine::FindAMatchingInvestigatorForAStatement(), Investigator::FindAMatchingStatement3002(), ReasonMachine::FindAMatchInvestigatorByKnowledgeElement(), SymptomInvestigator::InitiationOfthisSymptomInvestigator(), KnowledgeElement(), ReasonMachine::MakeOneStepInferenceFromAStatement(), ReasonMachine::ReadKEBaseAndKNFromInputFile(), ReadThisKEFromFile(), ReasonMachine::SaveInvestigationsToFile(), Investigator::SearchForPossibleCauses3012(), boost::serialization::serialize(), and Investigator::WhetherItIsAvailablefromMR3003().
| int KnowledgeElement::m_operator |
Definition at line 21 of file KnowledgeElement.h.
Referenced by CopyStaticKEinfoFromAnother(), ReasonMachine::ReadKEBaseAndKNFromInputFile(), ReadThisKEFromFile(), and boost::serialization::serialize().
| int KnowledgeElement::m_satisfied |
Definition at line 23 of file KnowledgeElement.h.
Referenced by boost::serialization::serialize().
| SentenceUnit* KnowledgeElement::m_SentenceUnit_pt |
Definition at line 25 of file KnowledgeElement.h.
Referenced by EventSchemaBase::AddNewSymptomCaseWithNewInvestigatorIfNecessary(), MRParameterUnit::AddNewValue(), Investigator::BackwardPropagateConfidenceLevel(), BuildTheConnectionsToThisKE(), Investigator::CheckWhetherTheFoundStatementConsistantWithKE(), Investigator::CompareKEandStatement3007(), ConvertKEinfoToStringForm(), InvestigatorLink::CrankTheNextLikelyRetrievedInvestigatorActivationToOne(), Investigator::EvaluateAfterGetNewFeedback3014(), EventSchemaBase::FindACorrespondingEventSchemaUnitByKE(), ReasonMachine::FindAMatchingInvestigatorForAStatement(), Investigator::FindAMatchingStatement3002(), ReasonMachine::FindAMatchInvestigatorByKnowledgeElement(), Investigator::GetActivation(), Investigator::GetSemanticSentenceOfThisInvestigator(), SymptomInvestigator::InitiationOfthisSymptomInvestigator(), ReasonMachine::MakeOneStepInferenceFromAStatement(), ReasonMachine::PrintKnowledgeWeb(), ReasonMachine::ReadKEBaseAndKNFromInputFile(), ReadThisKEFromFile(), Investigator::RequestInfoFromControlPanelInititaion3005(), InvestigatorLink::ResetTheLastActivationTimeOfTheNextToBeRetrievedInvestigator(), InvestigatorLink::RetrieveTheNextLikelyInvestigator3101(), ReasonMachine::SaveInvestigationsToFile(), Investigator::SearchForPossibleCauses3012(), SymptomInvestigator::TrackOneInvestigationCase(), Investigator::WhetherGetInfoFromControlPaneltoVerifyKE3004(), and Investigator::WhetherItIsAvailablefromMR3003().