postnew

SamsBnB.postnew(old, new, top)[source]

Kills any terms which do not occur frequently enough.

Parameters

old(node, score)

The old node and score that got removed.

new(node, score)

The new node and score that got added.

top(list(node), np.ndarray(1d))

The new set of optimal nodes and scores, sorted by lowest score first.