Vanguard Software
Forecasting & Planning Solutions
Home Products Solutions Services Customers Partners Company
 
Applying science to business management

contents.gifindex.gifprev1.gifnext1.gif

treelist

Format: treelist( namespec, all )

Arguments: [node] namespec Any list of node names

(bool) all Optional flag indicating if undefined nodes should be included in the list; default = false

Returns: [text] A list containing the names of all nodes referenced by the nodes in namespec

Description: Treelist is used to create a list of all nodes used in a tree branch. Treelist decomposes the top-level node specified in namespec into a list of every node it uses. This list of second-level nodes is then decomposed further into all third-level nodes and so on. The result is a list of all nodes needed to make the top node functionally complete.

Examples: Assume the following nodes have been created:

f(x):=g(x)+3

g(x):=x/6+k

h(x):=x^2+k

k:=123

treelist("f") = [f,g,k]

treelist("h") = [h,k]

treelist("f,h") = [f,h,g,k]

See Also: all, rootnode, selectednode, endnodes, inputs, outputs

  Demand Planning  |  Financial Forecasting
Forecasting Software  |  Strategic Planning Software  |  Decision Tree Software
Decision Support Software  |  Expert System Software  |  Online Surveys

Contact Us  |  Terms of Use  |  Privacy Policy  |  Site Map
Vanguard Software
© 2011 Vanguard Software Corporation
Print this page   Email this page to a friend