Re: [opencog/atomspace] Counting atoms (#2077)

22 views
Skip to first unread message

Linas Vepstas

unread,
Feb 26, 2019, 10:42:26 AM2/26/19
to opencog/atomspace, opencog
Moving discussion to mailing list.

On Tue, Feb 26, 2019 at 3:00 AM Anatoly Belikov <notifi...@github.com> wrote:

"Bad" is a relative term. ArityLink returns NumberNodes, and after running for a while, the atomspace gets filled with lots of useless, pointless NumberNodes. They're just garbage lying around.

This is not really a problem, since you can use temporary atomspace. And this logic applies to any link or node, since you can return any atom from bindlink.


There is currently no practical, easy, straight-forward way to copy atoms from the temp atomspace, back into the main one.  Yes, it would be nice if we could leave behind the no-longer-needed NumberNodes and SetLinks in the temp atomspace, and watch them go "poof" when the temp space is deleted .. but the results of those computations, we typically want to keep. If the result was the creation of a new atom, how can one put  it in the main atomspace?

--linas

--
cassette tapes - analog TV - film cameras - you
Reply all
Reply to author
Forward
0 new messages