GET TREE

Method of the pwar object.

Gets the tree belonging to the pwar function.

Contents

Description

This method returns a matrix in which the orthogonal tree is stored, where the first column indicates whether a node is a branch (1) or leaf (0), the second column indicates the level of the node, the third column states the region number belonging to each leaf node and columns 4 until 3 + 2^nx (where nx indicates the number of states) indicate the child nodes of each branch node.

Syntax

recTree = getTree(object)

Returns the matrix in the form described above.

Acknowledgements

Contributors:

Copyright is with: