Skip to main content

Module bipartite

Module bipartite 

Source
Available on crate feature readwrite only.
Expand description

Bipartite edgelist read/write (XGI xgi/readwrite/bipartite.py port).

Functionsยง

parse_bipartite_edgelist
Parse a bipartite edgelist. Each line has >= 2 tokens; the node column is 0 and the edge column is 1 (swapped when dual). XGI parse_bipartite_edgelist.
read_bipartite_edgelist
Read a bipartite edgelist file. XGI read_bipartite_edgelist.
write_bipartite_edgelist
Write a bipartite edgelist (node<delim>edge per membership). XGI write_bipartite_edgelist.