OpenCog Framework  Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
opencog::GenericTruthValue Class Reference

#include <GenericTruthValue.h>

+ Inheritance diagram for opencog::GenericTruthValue:
+ Collaboration diagram for opencog::GenericTruthValue:

Public Member Functions

 GenericTruthValue (count_t, count_t, strength_t, strength_t, confidence_t, entropy_t)
 
 GenericTruthValue (GenericTruthValue const &)
 
count_t getPositiveEvidence () const
 
count_t getLogPositiveEvidence () const
 
count_t getTotalEvidence () const
 
count_t getLogTotalEvidence () const
 
strength_t getFrequency () const
 
strength_t getLogFrequency () const
 
strength_t getFuzzyStrength () const
 
strength_t getLogFuzzyStrength () const
 
confidence_t getConfidence () const
 
confidence_t getLogConfidence () const
 
entropy_t getEntropy () const
 
GenericTruthValuePtr merge (GenericTruthValuePtr) const
 
GenericTruthValuePtr clone () const
 
GenericTruthValuerawclone () const
 
virtual bool operator== (const GenericTruthValue &rhs) const
 
std::string toString () const
 

Protected Attributes

count_t positiveEvidence
 
count_t totalEvidence
 
strength_t frequency
 
strength_t fuzzyStrength
 
confidence_t confidence
 
entropy_t entropy
 

Private Member Functions

GenericTruthValueoperator= (const GenericTruthValue &rhs)
 

Detailed Description

Definition at line 43 of file GenericTruthValue.h.

Constructor & Destructor Documentation

GenericTruthValue::GenericTruthValue ( count_t  pe,
count_t  te,
strength_t  f,
strength_t  fs,
confidence_t  c,
entropy_t  e 
)

Definition at line 32 of file GenericTruthValue.cc.

References confidence, entropy, frequency, fuzzyStrength, positiveEvidence, and totalEvidence.

+ Here is the caller graph for this function:

GenericTruthValue::GenericTruthValue ( GenericTruthValue const &  gtv)

Member Function Documentation

GenericTruthValuePtr opencog::GenericTruthValue::clone ( ) const
inline

Definition at line 76 of file GenericTruthValue.h.

confidence_t GenericTruthValue::getConfidence ( ) const

Definition at line 94 of file GenericTruthValue.cc.

References confidence.

+ Here is the caller graph for this function:

entropy_t GenericTruthValue::getEntropy ( ) const

Definition at line 104 of file GenericTruthValue.cc.

References entropy.

+ Here is the caller graph for this function:

strength_t GenericTruthValue::getFrequency ( ) const

Definition at line 74 of file GenericTruthValue.cc.

References frequency.

+ Here is the caller graph for this function:

strength_t GenericTruthValue::getFuzzyStrength ( ) const

Definition at line 84 of file GenericTruthValue.cc.

References fuzzyStrength.

+ Here is the caller graph for this function:

confidence_t GenericTruthValue::getLogConfidence ( ) const

Definition at line 99 of file GenericTruthValue.cc.

References confidence.

strength_t GenericTruthValue::getLogFrequency ( ) const

Definition at line 79 of file GenericTruthValue.cc.

References frequency.

strength_t GenericTruthValue::getLogFuzzyStrength ( ) const

Definition at line 89 of file GenericTruthValue.cc.

References fuzzyStrength.

count_t GenericTruthValue::getLogPositiveEvidence ( ) const

Definition at line 59 of file GenericTruthValue.cc.

References positiveEvidence.

count_t GenericTruthValue::getLogTotalEvidence ( ) const

Definition at line 69 of file GenericTruthValue.cc.

References totalEvidence.

count_t GenericTruthValue::getPositiveEvidence ( ) const

Definition at line 54 of file GenericTruthValue.cc.

References positiveEvidence.

+ Here is the caller graph for this function:

count_t GenericTruthValue::getTotalEvidence ( ) const

Definition at line 64 of file GenericTruthValue.cc.

References totalEvidence.

+ Here is the caller graph for this function:

GenericTruthValuePtr GenericTruthValue::merge ( GenericTruthValuePtr  gtv) const

Definition at line 109 of file GenericTruthValue.cc.

References CVAL, entropy, frequency, fuzzyStrength, KKK, positiveEvidence, and totalEvidence.

GenericTruthValue& opencog::GenericTruthValue::operator= ( const GenericTruthValue rhs)
inlineprivate

Definition at line 47 of file GenericTruthValue.h.

bool GenericTruthValue::operator== ( const GenericTruthValue rhs) const
virtual
GenericTruthValue* opencog::GenericTruthValue::rawclone ( ) const
inline

Definition at line 81 of file GenericTruthValue.h.

References GenericTruthValue().

std::string GenericTruthValue::toString ( ) const

Member Data Documentation

confidence_t opencog::GenericTruthValue::confidence
protected

Definition at line 101 of file GenericTruthValue.h.

entropy_t opencog::GenericTruthValue::entropy
protected

Definition at line 103 of file GenericTruthValue.h.

strength_t opencog::GenericTruthValue::frequency
protected

Definition at line 96 of file GenericTruthValue.h.

strength_t opencog::GenericTruthValue::fuzzyStrength
protected

Definition at line 99 of file GenericTruthValue.h.

count_t opencog::GenericTruthValue::positiveEvidence
protected

Definition at line 90 of file GenericTruthValue.h.

count_t opencog::GenericTruthValue::totalEvidence
protected

Definition at line 93 of file GenericTruthValue.h.


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