leaf

SamsBnB.leaf(node)[source]

Checks whether the model is of full size.

Parameters

nodeobj

The node to check.

Returns

is_leafbool

Whether the node is a leaf.