cotengra.path_igraph#

Module Contents#

Functions#

oe_to_igraph(inputs, output, size_dict[, ...])

Convert opt_einsum format to igraph graph incl. weights.

igraph_subgraph_find_membership(inputs, output, size_dict)

trial_igraph_dendrogram(inputs, output, size_dict[, ...])

A single, repeatable, igraph trial run. This is for igraph methods that

trial_spinglass(inputs, output, size_dict[, ...])

Attributes#

cotengra.path_igraph.oe_to_igraph(inputs, output, size_dict, weight_nodes='const', weight_edges='log')#

Convert opt_einsum format to igraph graph incl. weights.

cotengra.path_igraph.igraph_subgraph_find_membership(inputs, output, size_dict, weight_nodes='const', weight_edges='log', method='spinglass', parts=2, **igraph_opts)#
cotengra.path_igraph.igraph_to_tree#
cotengra.path_igraph.trial_igraph_partition#
cotengra.path_igraph.trial_igraph_dendrogram(inputs, output, size_dict, weight_nodes='const', weight_edges='log', random_strength=0.1, method='betweenness', **kwargs)#

A single, repeatable, igraph trial run. This is for igraph methods that naturally produce a dendrogram (== ssa_path).

cotengra.path_igraph.trial_spinglass(inputs, output, size_dict, icool_fact=0.01, igamma=0.01, **kwargs)#