pymnet.graphlets.orbit_counts_all

pymnet.graphlets.orbit_counts_all(net, n, nets, invs, auts, orbit_list, allowed_aspects='all')

Compute the orbit counts for all the nodes in net.

Parameters:
netnetwork
nint

max number of nodes

netsdict (key: n_nodes, value: list of networks)

Graphlets, as produced by graphlets

invsdict (key: complete invariant, value: tuple(n_nodes, net_index in nets))

complete invariants of the graphlets, as produced by graphlet

autsdd (key: (n_nodes, net_index, node), value: node)

automorphisms, as produced by automorphism_orbits

orbit_listlist of orbits

as returned by ordered_orbit_list

allowed_aspectslist, string

the aspects that can be permuted when computing isomorphisms

Returns:
orbitsdd (key: (node, orbit), value: count)

Orbit counts for all the nodes

Notes

Should be faster than orbit_counts if the counts are computed for all (/ most of) the nodes