upperbound

SamsBnB.upperbound(node)[source]

Compute the upperbound on the amount of times this submodel occurs in the set (=frequency of this submodel).

Parameters

nodeobj

The object for which to compute the upperbound.

Returns

scoreint or float

The upperbound score.