const char* GetAllNodesets_bn ( net_bn*  net,   bool_ns  include_system,   void*  vis )

Returns a string which is a list of all node-sets defined for net, separated by commas, in priority order, with highest priority first.

If include_system is TRUE, then the returned list will also contain nodesets internally defined by Netica, otherwise it will just contain user-defined ones. Each internally defined node-set will have a colon (":") preceeding its name.

Pass NULL for vis; it is only for future expansion.

The lifetime of the string returned is only until this function is called next on the same net; it should not be used after that.

Version:

Versions 3.22 and later have this function.

See also:

AddNodeToNodeset_bn    Creates the user-defined node-sets that appear in the list
IsNodeInNodeset_bn    Determines if a node is in a node-set
SetNodesetColor_bn    How the node-set is displayed in Netica Application
ReorderNodesets_bn    To change the priority order of a net's node-sets