27 #ifndef _OPENCOG_PROBABILISTIC_TRUTH_VALUE_H_
28 #define _OPENCOG_PROBABILISTIC_TRUTH_VALUE_H_
70 std::make_shared<ProbabilisticTruthValue>(s, f, c));
75 return std::make_shared<ProbabilisticTruthValue>(*this);
86 #endif // _OPENCOG_PROBABILISTIC_TRUTH_VALUE_H_
strength_t getMean() const
static TruthValuePtr createTV(strength_t s, confidence_t f, count_t c)
std::shared_ptr< TruthValue > TruthValuePtr
virtual TruthValuePtr merge(TruthValuePtr, TVMergeStyle ms=DEFAULT) const
ProbabilisticTruthValue(strength_t, confidence_t, count_t)
TruthValuePtr clone() const
std::shared_ptr< ProbabilisticTruthValue > ProbabilisticTruthValuePtr
confidence_t getConfidence() const
std::string toString() const
virtual bool operator==(const TruthValue &rhs) const
a TruthValue that stores a mean, a confidence and the number of observations
TruthValue * rawclone() const
TruthValueType getType() const