← Documentation
ADS-IDAC Engine 5.0.0
Activation Class Reference

#include <Activation.h>

Inheritance diagram for Activation:
[legend]

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
 

Detailed Description

Definition at line 10 of file Activation.h.

Constructor & Destructor Documentation

◆ Activation()

Activation::Activation ( )

Definition at line 13 of file Activation.cpp.

References m_activation, m_activation_baseline, and m_change_ratio.

◆ ~Activation()

Activation::~Activation ( )
virtual

Definition at line 20 of file Activation.cpp.

Member Function Documentation

◆ ActivationDecay()

void Activation::ActivationDecay ( double  _lamda)

Definition at line 25 of file Activation.cpp.

References m_activation, and m_activation_baseline.

◆ ChangeActivationByRatio()

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().

Here is the caller graph for this function:

◆ CopyActivationToRestartInfo()

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().

Here is the caller graph for this function:

◆ ResetChangeRatio()

void Activation::ResetChangeRatio ( )

Definition at line 65 of file Activation.cpp.

References m_change_ratio.

◆ serialize()

template<class Archive >
void Activation::serialize ( Archive &  ar,
const unsigned int  version 
)
inline

Definition at line 29 of file Activation.h.

References m_activation, m_activation_baseline, m_change_ratio, and m_old_activation.

◆ SetNewActivation()

void Activation::SetNewActivation ( double  _new)

Definition at line 43 of file Activation.cpp.

References m_activation.

◆ UpdateChangeRatio()

void Activation::UpdateChangeRatio ( )

Definition at line 70 of file Activation.cpp.

References m_activation, m_change_ratio, and m_old_activation.

◆ UpdateTheBaseLineValueAfterAChange()

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().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 27 of file Activation.h.

Member Data Documentation

◆ m_activation

◆ m_activation_baseline

◆ m_change_ratio

◆ m_old_activation


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