|
| RemoveLink (const HandleSeq &, TruthValuePtr tv=TruthValue::DEFAULT_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
| RemoveLink (Link &l) |
|
virtual Handle | execute (AtomSpace *=NULL) const |
|
| AssignLink (const HandleSeq &, TruthValuePtr tv=TruthValue::DEFAULT_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
| AssignLink (Type t, const HandleSeq &, TruthValuePtr tv=TruthValue::DEFAULT_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
| AssignLink (Link &l) |
|
| FunctionLink (Type, const HandleSeq &oset, TruthValuePtr tv=TruthValue::NULL_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
| FunctionLink (Link &l) |
|
virtual | ~FunctionLink () |
|
| FreeLink (const HandleSeq &oset, TruthValuePtr tv=TruthValue::NULL_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
| FreeLink (const Handle &a, TruthValuePtr tv=TruthValue::NULL_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
| FreeLink (Link &l) |
|
virtual | ~FreeLink () |
|
const HandleSeq & | get_vars (void) |
|
virtual Handle | reduce (void) |
|
| Link (Type t, const HandleSeq &oset, TruthValuePtr tv=TruthValue::DEFAULT_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
| Link (Type t, const Handle &h, TruthValuePtr tv=TruthValue::DEFAULT_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
| Link (Type t, const Handle &ha, const Handle &hb, TruthValuePtr tv=TruthValue::DEFAULT_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
| Link (Type t, const Handle &ha, const Handle &hb, const Handle &hc, TruthValuePtr tv=TruthValue::DEFAULT_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
| Link (Type t, const Handle &ha, const Handle &hb, const Handle &hc, const Handle &hd, TruthValuePtr tv=TruthValue::DEFAULT_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
| Link (Link &l) |
|
| ~Link () |
|
Arity | getArity () const |
|
const HandleSeq & | getOutgoingSet () const |
|
Handle | getOutgoingAtom (Arity pos) const throw (RuntimeException) |
|
template<class T > |
bool | foreach_outgoing (bool(T::*cb)(const Handle &), T *data) |
|
std::string | toString (std::string indent="") |
|
std::string | toShortString (std::string indent="") |
|
bool | isSource (Handle) const throw (InvalidParamException) |
|
bool | isSource (size_t) const throw (IndexErrorException, InvalidParamException) |
|
bool | isTarget (Handle) const throw (InvalidParamException) |
|
bool | isTarget (size_t) const throw (IndexErrorException, InvalidParamException) |
|
virtual bool | operator== (const Atom &) const |
|
virtual bool | operator!= (const Atom &) const |
|
virtual | ~Atom () |
|
Type | getType () const |
|
bool | isType (Type t, bool subclass) const |
|
Handle | getHandle () |
|
AttentionValuePtr | getAttentionValue () |
|
void | setAttentionValue (AttentionValuePtr) |
| Sets the AttentionValue object of the atom. More...
|
|
AttentionValue::sti_t | getSTI () |
| Handy-dandy convenience getters for attention values. More...
|
|
AttentionValue::lti_t | getLTI () |
|
AttentionValue::vlti_t | getVLTI () |
|
void | setSTI (AttentionValue::sti_t stiValue) |
|
void | setLTI (AttentionValue::lti_t ltiValue) |
|
void | incVLTI () |
|
void | decVLTI () |
|
TruthValuePtr | getTruthValue () |
|
void | setTruthValue (TruthValuePtr) |
| Sets the TruthValue object of the atom. More...
|
|
void | merge (TruthValuePtr) |
|
Handle | tvmerge (TruthValuePtr tv) |
|
size_t | getIncomingSetSize () |
| Get the size of the incoming set. More...
|
|
IncomingSet | getIncomingSet () |
|
template<typename OutputIterator > |
OutputIterator | getIncomingSet (OutputIterator result) |
|
template<class T > |
bool | foreach_incoming (bool(T::*cb)(const Handle &), T *data) |
|
template<typename OutputIterator > |
OutputIterator | getIncomingSetByType (OutputIterator result, Type type, bool subclass=false) |
|
IncomingSet | getIncomingSetByType (Type type, bool subclass=false) |
|
|
static Handle | do_execute (AtomSpace *, const Handle &) |
|
static LinkPtr | factory (LinkPtr) |
|
static Handle | factory (Type, const HandleSeq &) |
|
typedef std::shared_ptr< InSet > | InSetPtr |
|
void | init (const HandleSeq &) |
|
| FunctionLink (Type, const Handle &a, TruthValuePtr tv=TruthValue::NULL_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
| FunctionLink (Type, const Handle &a, const Handle &b, TruthValuePtr tv=TruthValue::NULL_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
void | init (void) |
|
void | find_vars (std::set< Handle > &, const HandleSeq &) |
|
void | build_index (void) |
|
| FreeLink (Type, const HandleSeq &oset, TruthValuePtr tv=TruthValue::NULL_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
| FreeLink (Type, const Handle &a, TruthValuePtr tv=TruthValue::NULL_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
| FreeLink (Type, const Handle &a, const Handle &b, TruthValuePtr tv=TruthValue::NULL_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
| Atom (Type t, TruthValuePtr tv=TruthValue::DEFAULT_TV(), AttentionValuePtr av=AttentionValue::DEFAULT_AV()) |
|
void | keep_incoming_set () |
|
void | drop_incoming_set () |
|
void | insert_atom (LinkPtr) |
| Add an atom to the incoming set. More...
|
|
void | remove_atom (LinkPtr) |
| Remove an atom from the incoming set. More...
|
|
Type | _link_type |
|
HandleSeq | _outset |
|
size_t | _osetz |
|
HandleSeq | _varseq |
|
std::map< Handle, unsigned int > | _index |
|
HandleSeq | _outgoing |
|
UUID | _uuid |
|
AtomTable * | _atomTable |
|
Type | _type |
|
char | _flags |
|
TruthValuePtr | _truthValue |
|
AttentionValuePtr | _attentionValue |
|
std::mutex | _mtx |
|
InSetPtr | _incoming_set |
|
Definition at line 153 of file AssignLink.h.
RemoveLink – remove an atom from the atomspace.
Hit it with a hammer. Set the recursive removal flag to true, to break out of any links that might contain the atom being removed. This is pretty nasty behavior, and condemns assignable atoms to always live at the very top of the atomspace. However, I don't see any plausable alternatives to this, right now.
Reimplemented from opencog::AssignLink.
Definition at line 184 of file AssignLink.cc.
References opencog::AssignLink::_link_type, opencog::AssignLink::_osetz, opencog::AssignLink::_outset, opencog::AtomSpace::get_handles_by_type(), opencog::Atom::getType(), opencog::Atom::Handle, opencog::LinkCast(), opencog::AtomSpace::remove_atom(), and opencog::Handle::UNDEFINED.