On my computer, TwitterLarge takes:
1) 18 seconds to load the text file into a graph
2) 2 seconds for connectedComponents()
3) 3 seconds for maxst()
These times are for AdjListGraph. Note: I uphold a strict definition
for the adjacency list. I do not include a list of incoming for each
vertex. Instead, when an algorithm requires the reverse list, it
computes it in O(|V|+|E|) time, then it gets tossed out.
On May 2, 4:19 pm, Keerthikanth Kodali <kk...@cornell.edu> wrote:
If you are having problems with the large files, look at the overheads
of your adjacency list structure. 1.25 GB sounds about right, but might
be open to improvdement, depending upon implementation. Anyone who can
do less than 960MB for Twitter is probably pulling some tricks out of
Google's hat.
-Robert
Other people have posted numbers regarding their algorithms'
performance. Please note that "TwitterLarge.txt" is just a text file,
and therefore implies no runtime.
-Robert
-Nikos
Let me add that the measurements above come from 32bit JVMs. If you
are using a 64bit JVM my back of the envelope calculations suggest
that 512Mb should be replaced with 716Mb.
-Nikos
-Nikos