init_queue
- BnB.init_queue(top_results, top_scores)[source]
Initializes the branches queue from the top results and scores.
Parameters
- top_resultslist(node)
A list of top result nodes from initialization. Sorted by top_scores (lowest first).
- top_scoresnp.ndarray(1d)
The corresponding scores, sorted lowest first.
Returns
- branchesiterable or generator
The potential branches from all the provided nodes.