minorminer.busclique.busgraph_cache.largest_clique_by_chainlength#

busgraph_cache.largest_clique_by_chainlength(chainlength)#

Returns the largest-found clique in the clique cache, with a specified maximum chainlength.

This will compute the entire clique cache if it is missing from the filesystem.

Parameters:

chainlength (int) – Max chain length.

Returns:

An embedding of node labels from range(len(embedding)) mapped to chains of the largest-found clique with maximum chainlength.

Return type:

dict