|
ADS-IDAC Engine 5.0.0
|
#include <KnowledgeUnit.h>
Public Member Functions | |
| void | BuildConnectionsToThisKU (void *) |
| void | CopyStaticKnowledgeUnitInfoFromAnother (KnowledgeUnit *) |
| void | ConvertKnowledgeLinkInfoToString () |
| void | ErrorMessage (std::string) |
| void | ReadKnowledgeUnitFromInputFile (std::ifstream &) |
| KnowledgeUnit () | |
| virtual | ~KnowledgeUnit () |
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 | |
| std::string | m_ID_desscendant |
| std::string | m_ID_anscestor |
| std::string | m_ID_permission |
| IDElement * | m_Descendant_pt |
| IDElement * | m_Ancestor_pt |
| IDElement * | m_Permission_pt |
| float | m_deltaT1 |
| float | m_deltaT2 |
| double | m_backward_retrieve_weight |
| double | m_forward_retrieve_weight |
| float | m_knowledge_strength |
| int | m_operator |
| bool | m_accessable_bl |
| int | m_inference_type |
| int | m_causal_type |
| int | m_mechanism_type |
Public Attributes inherited from IDElement | |
| int | m_ID_Type |
| std::string | m_ID |
Definition at line 10 of file KnowledgeUnit.h.
| KnowledgeUnit::KnowledgeUnit | ( | ) |
Definition at line 23 of file KnowledgeUnit.cpp.
References m_accessable_bl, m_Ancestor_pt, m_Descendant_pt, m_ID_anscestor, m_ID_desscendant, m_ID_permission, IDElement::m_ID_Type, m_knowledge_strength, and m_Permission_pt.
|
virtual |
Definition at line 36 of file KnowledgeUnit.cpp.
| void KnowledgeUnit::BuildConnectionsToThisKU | ( | void * | _pt | ) |
Definition at line 261 of file KnowledgeUnit.cpp.
References ErrorMessage(), ReasonMachine::FindKNByID(), ReasonMachine::FindKnowledgeElementByID(), m_Ancestor_pt, m_Descendant_pt, m_ID_anscestor, m_ID_desscendant, m_ID_permission, and m_Permission_pt.
| void KnowledgeUnit::ConvertKnowledgeLinkInfoToString | ( | ) |
Definition at line 230 of file KnowledgeUnit.cpp.
References m_Ancestor_pt, m_Descendant_pt, IDElement::m_ID, m_ID_anscestor, m_ID_desscendant, m_ID_permission, and m_Permission_pt.
| void KnowledgeUnit::CopyStaticKnowledgeUnitInfoFromAnother | ( | KnowledgeUnit * | _KU_pt | ) |
Definition at line 240 of file KnowledgeUnit.cpp.
References IDElement::CopyIDElementToRestartInfo(), m_accessable_bl, m_backward_retrieve_weight, m_causal_type, m_deltaT1, m_deltaT2, m_forward_retrieve_weight, m_ID_anscestor, m_ID_desscendant, m_ID_permission, m_inference_type, m_knowledge_strength, m_mechanism_type, and m_operator.
| void KnowledgeUnit::ErrorMessage | ( | std::string | ) |
Definition at line 221 of file KnowledgeUnit.cpp.
References r5pars_.
Referenced by BuildConnectionsToThisKU(), and ReadKnowledgeUnitFromInputFile().
| void KnowledgeUnit::ReadKnowledgeUnitFromInputFile | ( | std::ifstream & | ) |
Definition at line 41 of file KnowledgeUnit.cpp.
References SimulationContext::Action_Taker, SimulationContext::Decision_Maker, ErrorMessage(), ReasonMachine::FindKNByID(), ReasonMachine::FindKnowledgeElementByID(), g_sim, m_Ancestor_pt, m_backward_retrieve_weight, m_causal_type, m_deltaT1, m_deltaT2, m_Descendant_pt, m_forward_retrieve_weight, IDElement::m_ID, m_inference_type, m_knowledge_strength, m_operator, m_Permission_pt, Operator::m_RM, sim::Operator::OAT, and sim::Operator::ODM.
Referenced by ReasonMachine::ReadKnowledgeBaseFromInputFile().
| bool KnowledgeUnit::m_accessable_bl |
Definition at line 34 of file KnowledgeUnit.h.
Referenced by CopyStaticKnowledgeUnitInfoFromAnother(), KnowledgeUnit(), and boost::serialization::serialize().
| IDElement* KnowledgeUnit::m_Ancestor_pt |
Definition at line 25 of file KnowledgeUnit.h.
Referenced by BuildConnectionsToThisKU(), ConvertKnowledgeLinkInfoToString(), KnowledgeUnit(), ReasonMachine::PrintKnowledgeWeb(), and ReadKnowledgeUnitFromInputFile().
| double KnowledgeUnit::m_backward_retrieve_weight |
Definition at line 30 of file KnowledgeUnit.h.
Referenced by Investigator::BackwardPropagateConfidenceLevel(), InvestigatorLink::CalculateBackwardRetrievalScore(), CopyStaticKnowledgeUnitInfoFromAnother(), Investigator::FinishThePausedConfidencePropagationBeforeCloseInvestigation(), Investigator::InitiateBackwardPropagationOfConfidence(), ReasonMachine::PrintKnowledgeWeb(), ReadKnowledgeUnitFromInputFile(), and boost::serialization::serialize().
| int KnowledgeUnit::m_causal_type |
Definition at line 40 of file KnowledgeUnit.h.
Referenced by CopyStaticKnowledgeUnitInfoFromAnother(), Investigator::PrintCausalOrInferenceLink(), ReasonMachine::PrintKnowledgeWeb(), ReadKnowledgeUnitFromInputFile(), and boost::serialization::serialize().
| float KnowledgeUnit::m_deltaT1 |
Definition at line 28 of file KnowledgeUnit.h.
Referenced by CopyStaticKnowledgeUnitInfoFromAnother(), ReasonMachine::PrintKnowledgeWeb(), ReadKnowledgeUnitFromInputFile(), boost::serialization::serialize(), and Investigator::UpdateEffectiveEndTimeRangeToUpperstream().
| float KnowledgeUnit::m_deltaT2 |
Definition at line 29 of file KnowledgeUnit.h.
Referenced by CopyStaticKnowledgeUnitInfoFromAnother(), ReasonMachine::PrintKnowledgeWeb(), ReadKnowledgeUnitFromInputFile(), and boost::serialization::serialize().
| IDElement* KnowledgeUnit::m_Descendant_pt |
Definition at line 24 of file KnowledgeUnit.h.
Referenced by BuildConnectionsToThisKU(), ConvertKnowledgeLinkInfoToString(), KnowledgeUnit(), ReasonMachine::PrintKnowledgeWeb(), and ReadKnowledgeUnitFromInputFile().
| double KnowledgeUnit::m_forward_retrieve_weight |
Definition at line 31 of file KnowledgeUnit.h.
Referenced by CopyStaticKnowledgeUnitInfoFromAnother(), ReasonMachine::PrintKnowledgeWeb(), ReadKnowledgeUnitFromInputFile(), and boost::serialization::serialize().
| std::string KnowledgeUnit::m_ID_anscestor |
Definition at line 21 of file KnowledgeUnit.h.
Referenced by BuildConnectionsToThisKU(), ConvertKnowledgeLinkInfoToString(), CopyStaticKnowledgeUnitInfoFromAnother(), KnowledgeUnit(), and boost::serialization::serialize().
| std::string KnowledgeUnit::m_ID_desscendant |
Definition at line 20 of file KnowledgeUnit.h.
Referenced by BuildConnectionsToThisKU(), ConvertKnowledgeLinkInfoToString(), CopyStaticKnowledgeUnitInfoFromAnother(), KnowledgeUnit(), and boost::serialization::serialize().
| std::string KnowledgeUnit::m_ID_permission |
Definition at line 22 of file KnowledgeUnit.h.
Referenced by BuildConnectionsToThisKU(), ConvertKnowledgeLinkInfoToString(), CopyStaticKnowledgeUnitInfoFromAnother(), KnowledgeUnit(), and boost::serialization::serialize().
| int KnowledgeUnit::m_inference_type |
Definition at line 35 of file KnowledgeUnit.h.
Referenced by CopyStaticKnowledgeUnitInfoFromAnother(), Investigator::EvaluateAfterGetNewFeedback3014(), Investigator::PrintCausalOrInferenceLink(), ReasonMachine::PrintKnowledgeWeb(), ReadKnowledgeUnitFromInputFile(), and boost::serialization::serialize().
| float KnowledgeUnit::m_knowledge_strength |
Definition at line 32 of file KnowledgeUnit.h.
Referenced by CopyStaticKnowledgeUnitInfoFromAnother(), KnowledgeUnit(), ReasonMachine::PrintKnowledgeWeb(), ReadKnowledgeUnitFromInputFile(), and boost::serialization::serialize().
| int KnowledgeUnit::m_mechanism_type |
Definition at line 46 of file KnowledgeUnit.h.
Referenced by CopyStaticKnowledgeUnitInfoFromAnother(), and boost::serialization::serialize().
| int KnowledgeUnit::m_operator |
Definition at line 33 of file KnowledgeUnit.h.
Referenced by CopyStaticKnowledgeUnitInfoFromAnother(), ReasonMachine::ReadKnowledgeBaseFromInputFile(), ReadKnowledgeUnitFromInputFile(), and boost::serialization::serialize().
| IDElement* KnowledgeUnit::m_Permission_pt |
Definition at line 26 of file KnowledgeUnit.h.
Referenced by BuildConnectionsToThisKU(), ConvertKnowledgeLinkInfoToString(), KnowledgeUnit(), ReasonMachine::PrintKnowledgeWeb(), and ReadKnowledgeUnitFromInputFile().