25 using namespace opencog;
30 #define dbgprt(f, varargs...) printf(f, ##varargs)
32 #define dbgprt(f, varargs...)
44 return node1 == node2 and
63 for (
const auto& l : incoming_set)
65 filtered_set.push_back(l);
68 if (filtered_set.empty())
79 std::sort(filtered_set.begin(), filtered_set.end(),
compare_sti);
IncomingSet getIncomingSet()
std::shared_ptr< Link > LinkPtr
IncomingSet get_incoming_set(const Handle &)
AttentionalFocusCB(AtomSpace *)
virtual bool link_match(const LinkPtr &, const LinkPtr &)
std::vector< LinkPtr > IncomingSet
bool node_match(const Handle &, const Handle &)
AttentionValue::sti_t get_attentional_focus_boundary() const
bool link_match(const LinkPtr &, const LinkPtr &)
AttentionValue::sti_t getSTI()
Handy-dandy convenience getters for attention values.
static bool compare_sti(LinkPtr lptr1, LinkPtr lptr2)