23 #ifndef _OPENCOG_FOLD_LINK_H
24 #define _OPENCOG_FOLD_LINK_H
69 {
return std::dynamic_pointer_cast<
FoldLink>(
a); }
72 #define createFoldLink std::make_shared<FoldLink>
77 #endif // _OPENCOG_FOLD_LINK_H
static FoldLinkPtr FoldLinkCast(const Handle &h)
virtual Handle kons(const Handle &, const Handle &)=0
std::vector< Handle > HandleSeq
a list of handles
std::shared_ptr< Atom > AtomPtr
FoldLink(Type, const HandleSeq &oset, TruthValuePtr tv=TruthValue::NULL_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV())
std::shared_ptr< TruthValue > TruthValuePtr
std::shared_ptr< AttentionValue > AttentionValuePtr
std::shared_ptr< FoldLink > FoldLinkPtr
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)
virtual Handle reduce(void)