|
ADS-IDAC Engine 5.0.0
|
#include <Activation.h>
Public Member Functions | |
| void | UpdateTheBaseLineValueAfterAChange (float _decay_lamda) |
| void | UpdateChangeRatio () |
| void | ResetChangeRatio () |
| void | ChangeActivationByRatio (float) |
| void | CopyActivationToRestartInfo (Activation *) |
| void | SetNewActivation (double) |
| void | ActivationDecay (double) |
| Activation () | |
| virtual | ~Activation () |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
Public Attributes | |
| double | m_change_ratio |
| double | m_activation_baseline |
| double | m_activation |
| double | m_old_activation |
Friends | |
| class | boost::serialization::access |
Definition at line 10 of file Activation.h.
| Activation::Activation | ( | ) |
Definition at line 13 of file Activation.cpp.
References m_activation, m_activation_baseline, and m_change_ratio.
|
virtual |
Definition at line 20 of file Activation.cpp.
| void Activation::ActivationDecay | ( | double | _lamda | ) |
Definition at line 25 of file Activation.cpp.
References m_activation, and m_activation_baseline.
| void Activation::ChangeActivationByRatio | ( | float | _ratio | ) |
Definition at line 55 of file Activation.cpp.
References m_activation, and m_change_ratio.
Referenced by SentenceUnit::ActivationPropagationFromConceptBottomUp(), SentenceUnit::ChangActivationOfConceptByID(), KBConcept::ChangeActivationByConceptID(), KBConcept::PropagateActivationAmongComposedConceptBottomUp(), and KBConcept::PropagateActivationFromBasicConceptToComposedConcept().
| void Activation::CopyActivationToRestartInfo | ( | Activation * | _pt | ) |
Definition at line 48 of file Activation.cpp.
References m_activation, m_activation_baseline, and m_change_ratio.
Referenced by ConceptBasicUnit::CopyConceptBasicUnitToRestartInfo(), Statement::CopyStatementInfoFromAnother(), and SentenceUnit::CopyStaticInfoFromAnotherSentence().
| void Activation::ResetChangeRatio | ( | ) |
Definition at line 65 of file Activation.cpp.
References m_change_ratio.
|
inline |
Definition at line 29 of file Activation.h.
References m_activation, m_activation_baseline, m_change_ratio, and m_old_activation.
| void Activation::SetNewActivation | ( | double | _new | ) |
Definition at line 43 of file Activation.cpp.
References m_activation.
| void Activation::UpdateChangeRatio | ( | ) |
Definition at line 70 of file Activation.cpp.
References m_activation, m_change_ratio, and m_old_activation.
| void Activation::UpdateTheBaseLineValueAfterAChange | ( | float | _decay_lamda | ) |
Definition at line 75 of file Activation.cpp.
References m_activation, m_activation_baseline, and m_old_activation.
Referenced by SentenceUnit::ActivationPropagationFromConceptBottomUp(), and ReasonMachine::CrankASentenceUnitActivationToAGivenValue().
|
friend |
Definition at line 27 of file Activation.h.
| double Activation::m_activation |
Definition at line 22 of file Activation.h.
Referenced by Activation(), ActivationDecay(), SentenceUnit::ActivationPropagationFromConceptBottomUp(), ReasonMachine::ActivationUpdateByRefreshAStatement(), ReasonMachine::AddANewStatement(), ReasonMachine::AutoIgnitionOfDecayedInvestigatorInitiatedByActivatingAStatement(), ChangeActivationByRatio(), CopyActivationToRestartInfo(), ConceptComposedUnit::CopyInfoFromAnotherConceptComposedUnit(), ReasonMachine::CrankASentenceUnitActivationToAGivenValue(), InvestigatorLink::CrankTheNextLikelyRetrievedInvestigatorActivationToOne(), Investigator::EvaluateAfterGetNewFeedback3014(), Investigator::GetActivation(), ReasonMachine::OneStepWorkOnSelectedInvestigator3000(), Statement::PropagateFullActivationToSemanticSentence(), ReasonMachine::ReOpenItemWithActivationLevelAboveAGivenValue(), Investigator::ReopenThisInvestigator(), InvestigatorLink::ResetTheLastActivationTimeOfTheNextToBeRetrievedInvestigator(), InvestigatorLink::RetrieveTheNextLikelyInvestigator3101(), boost::serialization::serialize(), serialize(), SetNewActivation(), UpdateChangeRatio(), and UpdateTheBaseLineValueAfterAChange().
| double Activation::m_activation_baseline |
Definition at line 20 of file Activation.h.
Referenced by Activation(), ActivationDecay(), CopyActivationToRestartInfo(), ConceptComposedUnit::CopyInfoFromAnotherConceptComposedUnit(), boost::serialization::serialize(), serialize(), and UpdateTheBaseLineValueAfterAChange().
| double Activation::m_change_ratio |
Definition at line 19 of file Activation.h.
Referenced by Activation(), ChangeActivationByRatio(), CopyActivationToRestartInfo(), ConceptComposedUnit::CopyInfoFromAnotherConceptComposedUnit(), ReasonMachine::CrankASentenceUnitActivationToAGivenValue(), SentenceUnit::GetActivationChangeRatioByID(), ReasonMachine::OneRoundActivationSpreadingFromASentence(), KBConcept::PropagateActivationAmongConceptsTopDown(), SentenceUnit::PropagateActivationToConceptUnitsTopDown(), Statement::PropagateFullActivationToSemanticSentence(), ResetChangeRatio(), boost::serialization::serialize(), serialize(), and UpdateChangeRatio().
| double Activation::m_old_activation |
Definition at line 23 of file Activation.h.
Referenced by SentenceUnit::ActivationPropagationFromConceptBottomUp(), ReasonMachine::CrankASentenceUnitActivationToAGivenValue(), boost::serialization::serialize(), serialize(), UpdateChangeRatio(), and UpdateTheBaseLineValueAfterAChange().