minorminer.busclique.busgraph_cache.find_biclique_embedding#
- busgraph_cache.find_biclique_embedding(nn, mm)#
Returns a biclique embedding, minimizing the maximum chain length given its size.
This will compute the entire biclique cache if it is missing from the filesystem.
- Parameters:
nn (int/iterable) – A number (indicating the size of one side of the desired biclique) or an iterable (specifying the node labels of one side the desired biclique).
mm (int/iterable) – Same as
nn, for the other side of the desired biclique.
In the case that
nnis a number, the first side will have nodes labeled fromrange(nn). In the case thatmmis a number, the second side will have nodes labeled fromrange(n, n + mm); wherenis eithernnorlen(nn).- Returns:
An embedding of node labels (described above) mapped to chains of a biclique embedding.
- Return type: