path_from_root_indicator#

FTreeNode.path_from_root_indicator() list[int]#

Returns the list of sides one has to take to go from the root to this node.

The value 1 denotes going right, the value -1 denotes going left.

Returns#

list[int]

The list of indicator values.