GetGlobalLeaves

Command: GetGlobalLeaves


Synopsis

gid [<>] GetGlobalLeaves -> [gid1 ... gidn]
File
lib/sli/nest-init.sli
Parameters

gid - id of a subnet
<> - Dictionary of selection properties
Returns:
[gid..] - Array with the global ids of all leaf nodes.

Author
Ruediger Kupper Abigail Morrison

Description

This function recursively traverses a subnet and returns the global
ids of all leaf nodes in increasing order of gid. If a dictionary is provided
only those nodes which fulfill the given criteria are returned.

The returned nodes DO NOT include the intermediate subnets. For a
variant of this command that also returns the subnets see
"GetGlobalNodes".