spgetchildrencount


Purpose
To get the number of children of a node in a scenario tree.
Synopsis
spgetchildrencount(t:integer, n: integer): integer
Arguments
stage number belonging to {1..T}, where T is the number of stages
node number belonging to {1..Nt}, where Nt is number of nodes in stage t
Return value
number of children of the nth node in the tth stage
Further information
This function should be called after generating scenario tree.
Related topics
spgetscencount, spgetnodecount, spgetprobcond, spgetprobuncond, spgetprobscen, spgetparent, spgetchild, spprinttree


If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.