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