23 #ifndef _OPENCOG_TIMES_LINK_H
24 #define _OPENCOG_TIMES_LINK_H
41 double konsd(
double,
double)
const;
68 {
return std::dynamic_pointer_cast<
TimesLink>(
a); }
71 #define createTimesLink std::make_shared<TimesLink>
76 #endif // _OPENCOG_TIMES_LINK_H
double konsd(double, double) const
static TimesLinkPtr TimesLinkCast(const Handle &h)
std::vector< Handle > HandleSeq
a list of handles
std::shared_ptr< Atom > AtomPtr
TimesLink(Type, const HandleSeq &oset, TruthValuePtr tv=TruthValue::NULL_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV())
std::shared_ptr< TruthValue > TruthValuePtr
std::shared_ptr< AttentionValue > AttentionValuePtr
Handle kons(const Handle &, const Handle &)
static TruthValuePtr NULL_TV()
static AttentionValuePtr DEFAULT_AV()
to be used as default attention value
std::shared_ptr< TimesLink > TimesLinkPtr
unsigned short Type
type of Atoms, represented as short integer (16 bits)