next up previous contents index
Next: Displaying the Network Up: SNePSUL Commands Previous: Deleting Information

Functions Returning Sets of Nodes or of Unitpaths

The functions described in this section neither add to nor delete from the network. Rather, they compute and return sets either of nodes or of unitpaths.

({node}tex2html_wrap_inline4051)
A list of nodes at the top level of the SNePSUL loop, or in a context where a node set is required, is treated as an expression whose value is a set of the nodes in the list.

(* symbol) 
A macro command function which returns the set of nodes in the value of the SNePSUL variable symbol.

(list-nodes [context-name]) 
Returns the set of all nodes that are in the context named context-name. If context-name is omitted, returns the set of all nodes that are in *defaultct.

(^ S-expression ) 
The set of nodes obtained by evaluating the Lisp S-expression.

(& nodeset nodeset) 
Infix function that returns the intersection of the two nodesets.

(+ nodeset nodeset) 
Infix function that returns the union of the two nodesets.

(- nodeset nodeset) 
Infix function that returns the set of nodes in the first nodeset but not in the second nodeset.

(= nodeset symbol) 
Infix function that assigns the nodeset to be the value of the SNePSUL variable symbol.

(_ nodeset unitpathset) 
Infix function that returns the set of those nodes in the nodeset which do not have any of the unitpaths in the unitpathset emanating from them.

(> unitpathset symbol) 
Infix function that assigns the unitpathset to be the value of the SNePSUL variable symbol.

({unitpath}tex2html_wrap_inline4051)
A list of unitpaths in a context where a unitpathset is required, is treated as an expression whose value is a set of the unitpaths in the list.



John Francis Santore
Fri May 14 11:18:57 EDT 1999