23 #ifndef _OPENCOG_BIND_LINK_H
24 #define _OPENCOG_BIND_LINK_H
65 {
return std::dynamic_pointer_cast<
BindLink>(
a); }
68 #define createBindLink std::make_shared<BindLink>
73 #endif // _OPENCOG_BIND_LINK_H
void extract_variables(const HandleSeq &oset)
BindLink(Type, const HandleSeq &, TruthValuePtr tv=TruthValue::DEFAULT_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV())
std::vector< Handle > HandleSeq
a list of handles
std::shared_ptr< Atom > AtomPtr
void check_connectivity(const std::vector< HandleSeq > &)
std::shared_ptr< TruthValue > TruthValuePtr
std::shared_ptr< AttentionValue > AttentionValuePtr
static BindLinkPtr BindLinkCast(const Handle &h)
std::shared_ptr< BindLink > BindLinkPtr
static TruthValuePtr DEFAULT_TV()
bool imply(PatternMatchCallback &, bool check_connectivity=true)
static AttentionValuePtr DEFAULT_AV()
to be used as default attention value
unsigned short Type
type of Atoms, represented as short integer (16 bits)
const Handle & get_implicand(void)
Handle _implicand
The rewrite term.