views:

88

answers:

3

Hi!
I want to test various algorithms on graphs.
Does anyone know a web where I can get lots of examples in text files? I've found many examples but they are always images. I want a text description of a graph, by edge listing or whatever... do you know one such source?

Thanks!
Manuel

+1  A: 

Graph problems are common in programming competitions.
I don't know if you are used to the format of those competitions, but here's a list of some of the online judges where you can submit/test your solution online:

Topcoder has also a great problem database (see problem archive) But it'll take you something to get used to it. (Note that it's not just the problems, you can also use the arena to test/submit your solutions)

Soufiane Hassou
what I want is graph inputs to test my own algorithms, not problems to create algoritms... Isn't' there a repo where I can download input files containing graphs for algorithm testing? Thanks!
Manuel
Well, you'll find many problems to test your algorithms, some problems are just applications for a given algorithm. Besides that, with input files you won't know if your output is correct or not, while in an online judge, you'll get an evaluation of your result
Soufiane Hassou
Most competitions put the data used for judging submissions on the web after the competition is complete. Look for problems where the input is a graph and find the judge input file for that problem.
Anton Hansson
+1  A: 

RDF datasets are graphs, try rdfdata.org, dbpedia which is wikipedia in RDF, the LUBM graph benchmark, or a really big one (currently down at 2009-11-19 21:18 GMT).

Also wordnet is a graph.

Pete Kirkham
+1  A: 

Hi

Or go to the source, The Stanford Graphbase: http://www-cs-faculty.stanford.edu/~knuth/sgb.html

Regards

Mark

High Performance Mark