NewNode

From OpenCog
Jump to: navigation, search

The proposal below might not be required; see discussion in https://github.com/opencog/atomspace/issues/2324 for a much more natural way to do this, with a PutLink and GlobNode.

The NewNode is a proposed (but as yet unimplemented) atom type that, when executed, creates a new node of the given type, with an autogenerated unique name. Thus, for example,

NewNode "ConceptNode"

when executed, would create a ConceptNode with a UUID as it's name.

See also