We consider the estimation of properties on massive bipartite graph streams, where each edge represents a connection between entities in two different partitions. We present sub-linear-space one-pass algorithms for accurately estimating the number of butterflies in the graph stream. Our estimates have provable guarantees on their quality, and experiments show promising tradeoffs between space and accuracy. We also present extensions to sliding windows. While there are many works on counting subgraphs within unipartite graph streams, our work seems to be one of the few to effectively handle bipartite graph streams.
Use cmake to generate the exe file. The exe file is named "stream_bfly".
You can run 5 different algorithms.
./stream_bfly exact
./stream_bfly batch
./stream_bfly Res
./stream_bfly IRes
./stream_bfly Ada
Insert the input path, and other settings related to different algorithms. Finally, you will be able to see the results in the output path, you specified. As an example, see the output of graph "in.github".