27 using namespace opencog;
34 if (NULL == a)
return false;
41 if (NULL == l)
return false;
43 const HandleSeq& hs = l->getOutgoingSet();
44 if (std::any_of(hs.begin(), hs.end(), [
this](
Handle ho) {
return ignoreAtom(ho); }))
std::vector< Handle > HandleSeq
a list of handles
std::shared_ptr< Atom > AtomPtr
std::shared_ptr< Link > LinkPtr
virtual bool ignoreType(Type t) const
static LinkPtr LinkCast(const Handle &h)
virtual bool ignoreAtom(Handle) const