The work extends the conference paper "A Fast Maximum
- code - codes of our algorithms and kPlexS and KpLeX.
- data - example graph instances
- supplement - supplementary materials
$ make
It generates the executable (kPlexS, KpLeX, Maple and its variants).
$ ./EXE {path_to_binary_compressed_graph} {k_value}
An example of computing the exact maximum 15-plex for the dataset soc-slashdot is as follows
$ ./Maple data/soc-slashdot.bin 15
The solution is in output file "kplexes.txt".
We adopt the time-efficient binary format rather than the text format. Several demonstration graphs are given in "data" folder.
Transforming network-repo graphs from text format to binary format is as follows:
$ g++ ./toBin.cpp -o toBin
$ mv ./data/soc-slashdot ./data/soc-slashdot.clq
$ ./toBin data/soc-slashdot.clq
$ ls data/soc-slashdot.bin
Note that:
The lower bound of both kPlexS and KpLex are simply set to at least 2k-2 to screen out trivial cases.
And the input of kPlexS and KpLeX are modified to accept binary encoded instances.