23 #ifndef _OPENCOG_PUT_LINK_H
24 #define _OPENCOG_PUT_LINK_H
88 {
return std::dynamic_pointer_cast<
PutLink>(
a); }
91 #define createPutLink std::make_shared<PutLink>
96 #endif // _OPENCOG_PUT_LINK_H
static PutLinkPtr PutLinkCast(const Handle &h)
std::vector< Handle > HandleSeq
a list of handles
std::shared_ptr< Atom > AtomPtr
virtual Handle reduce(void)
std::shared_ptr< TruthValue > TruthValuePtr
std::shared_ptr< AttentionValue > AttentionValuePtr
PutLink(Type, const HandleSeq &oset, TruthValuePtr tv=TruthValue::NULL_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV())
Handle do_reduce(void) const
static TruthValuePtr NULL_TV()
static AttentionValuePtr DEFAULT_AV()
to be used as default attention value
unsigned short Type
type of Atoms, represented as short integer (16 bits)
Handle substitute_nocheck(const Handle &, const HandleSeq &) const
std::shared_ptr< PutLink > PutLinkPtr