Supergroup binary

Supergroup binary#

Create supergroup.pkl (direct supergroups of each real PG and SG, with the embeddings). Needs group.pkl and info.pkl.

python -m multipiegen.create_binary.create_supergroup [–serial]

See multipiegen/util/util_supergroup.py.

create_supergroup_all(serial=False, verbose=True)[source]#

Create the direct supergroups of all real PG and SG (BinaryManager).

Parameters:
  • serial (bool, optional) – run in a single process ?

  • verbose (bool, optional) – verbose ?

Returns:

[{“parent”, “A”, “index”, “index_parent”}]}.

Return type:

  • (BinaryManager) – {PG_id/SG_id

save_supergroup(serial=False)[source]#

Create and save supergroup.pkl in multipiegen/binary.

Parameters:

serial (bool, optional) – run in a single process ?