23 #ifndef _OPENCOG_LAMBDA_LINK_H
24 #define _OPENCOG_LAMBDA_LINK_H
88 {
return std::dynamic_pointer_cast<
LambdaLink>(
a); }
91 #define createLambdaLink std::make_shared<LambdaLink>
96 #endif // _OPENCOG_LAMBDA_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 std::string toShortString(std::string indent="")=0
LambdaLink(Type, const HandleSeq &, TruthValuePtr tv=TruthValue::DEFAULT_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV())
void init(const HandleSeq &)
Handle substitute(const HandleSeq &vals) const
static TruthValuePtr DEFAULT_TV()
Handle substitute(const Handle &tree, const HandleSeq &vals) const
static AttentionValuePtr DEFAULT_AV()
to be used as default attention value
static LambdaLinkPtr LambdaLinkCast(const Handle &h)
unsigned short Type
type of Atoms, represented as short integer (16 bits)
std::shared_ptr< LambdaLink > LambdaLinkPtr
static void prt(const Handle &h)
Handle _body
Handle of the body of the expression.