public Optional<ExclusiveEdge> popBestEdge(Node component, Arborescence<Node> best) {
        if (!queueByDestination.containsKey(component)) return Optional.empty();
        return queueByDestination.get(component).popBestEdge(best);
    }
public Optional < ExclusiveEdge > popBestEdge ( Node component , Arborescence < Node > best ) { if ( ! queueByDestination . containsKey ( component ) ) return Optional . empty ( ) ; return queueByDestination . get ( component ) . popBestEdge ( best ) ; }
Always breaks ties in favor of edges in best