OpenCog Framework  Branch: master, revision 6f0b7fc776b08468cf1b74aa9db028f387b4f0c0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AtomUtils.cc File Reference
#include <iostream>
#include <opencog/atomspace/Link.h>
#include <opencog/atomspace/Node.h>
#include <opencog/atoms/bind/DefineLink.h>
#include "AtomUtils.h"
+ Include dependency graph for AtomUtils.cc:

Go to the source code of this file.

Namespaces

 opencog
 

Functions

HandleSeq opencog::get_all_nodes (Handle h)
 
UnorderedHandleSet opencog::get_all_unique_nodes (Handle h)
 
HandleSeq opencog::get_all_atoms (Handle h)
 
UnorderedHandleSet opencog::get_all_unique_atoms (Handle h)
 
HandleSeq opencog::get_neighbors (const Handle &h, bool fanin, bool fanout, Type desiredLinkType, bool subClasses)
 
UnorderedHandleSet opencog::get_outgoing_nodes (const Handle &hinput, const std::vector< Type > &types)
 
static void opencog::get_distant_neighbors_rec (const Handle &h, UnorderedHandleSet &res, int dist)
 
UnorderedHandleSet opencog::get_distant_neighbors (const Handle &h, int dist)
 
HandleSeq opencog::get_predicates (const Handle &target, Type predicateType, bool subClasses)
 
HandleSeq opencog::get_predicates_for (const Handle &target, const Handle &predicate)