What steps will reproduce the problem?
Required is access to a running mysql database with a converted version of
wikipedia.
Connecting to the database is done as shown in tutorials.
Following excerpt of code causes a endless loop.
String firstDomain = "Photosynthesis";
Category firstCat = wiki.getCategory(firstDomain);
CategoryGraph catGraph =
new CategoryGraph(wiki, firstCat.getDescendants());
System.out.println(catGraph.getNumberOfNodes());
What is the expected output? What do you see instead?
As Photosynthesis has currently about 7 subcategories. I expect to get the
number 7 in a reasonable time.
Instead I get no results and the program runs endlessly.
What version of the product are you using? On what operating system?
Current version on Open Suse 11.2
Please provide any additional information below.
Original issue reported on code.google.com by scholi...@googlemail.com on 14 Mar 2011 at 4:26
Original issue reported on code.google.com by
scholi...@googlemail.com
on 14 Mar 2011 at 4:26