|
OpenCog Framework
Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
|
a special type of TruthValue More...
#include <NullTruthValue.h>
Inheritance diagram for opencog::NullTruthValue:
Collaboration diagram for opencog::NullTruthValue:Public Member Functions | |
| NullTruthValue () | |
| bool | isNullTv () const |
| strength_t | getMean () const throw (RuntimeException) |
| count_t | getCount () const throw (RuntimeException) |
| confidence_t | getConfidence () const throw (RuntimeException) |
| std::string | toString () const |
| TruthValueType | getType () const |
| TruthValuePtr | clone () const |
| TruthValue * | rawclone () const |
| virtual bool | operator== (const TruthValue &rhs) const |
Public Member Functions inherited from opencog::TruthValue | |
| virtual | ~TruthValue () |
| bool | operator!= (const TruthValue &rhs) const |
| virtual bool | isDefaultTV () const |
Protected Member Functions | |
| TruthValuePtr | merge (TruthValuePtr, TVMergeStyle ms=DEFAULT) const throw (RuntimeException) |
Friends | |
| class | TruthValue |
Additional Inherited Members | |
Static Public Member Functions inherited from opencog::TruthValue | |
| static TruthValuePtr | NULL_TV () |
| static TruthValuePtr | TRUE_TV () |
| static TruthValuePtr | DEFAULT_TV () |
| static TruthValuePtr | FALSE_TV () |
| static TruthValuePtr | TRIVIAL_TV () |
a special type of TruthValue
Definition at line 37 of file NullTruthValue.h.
| NullTruthValue::NullTruthValue | ( | ) |
|
virtual |
Implements opencog::TruthValue.
Definition at line 75 of file NullTruthValue.cc.
References NullTruthValue().
|
virtual | |||||||||||||
Implements opencog::TruthValue.
Definition at line 60 of file NullTruthValue.cc.
|
virtual | |||||||||||||
Implements opencog::TruthValue.
Definition at line 55 of file NullTruthValue.cc.
|
virtual | |||||||||||||
Implements opencog::TruthValue.
Definition at line 50 of file NullTruthValue.cc.
|
virtual |
Implements opencog::TruthValue.
Definition at line 65 of file NullTruthValue.cc.
References opencog::NULL_TRUTH_VALUE.
|
virtual |
Check if this TV is a null TV.
Reimplemented from opencog::TruthValue.
Definition at line 33 of file NullTruthValue.cc.
|
protectedvirtual | ||||||||||||||||||||
Merge this TV object with the given TV object argument. It always returns a new TV object with the result of the merge, even if it is equal to one of the merged TV objects.
| ms | the merge style as described in https://github.com/opencog/opencog/issues/1295 |
Implements opencog::TruthValue.
Definition at line 70 of file NullTruthValue.cc.
|
virtual |
Equality. Used to determine if two truth values are the same, or not. Primarily useful see if a TV is equal to NULL_TV, TRUE_TV, FALSE_TV, etc.
Implements opencog::TruthValue.
Definition at line 38 of file NullTruthValue.cc.
|
virtual |
Implements opencog::TruthValue.
Definition at line 81 of file NullTruthValue.cc.
References NullTruthValue().
|
virtual |
Implements opencog::TruthValue.
Definition at line 45 of file NullTruthValue.cc.
|
friend |
Definition at line 39 of file NullTruthValue.h.