Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

Algorithm / Java Code examples

Thread view: 
Ronan - 07 Apr 2006 04:48 GMT
Hi there, is there anyway I can get simple algorithms, java examples of
these below -

Adjacency Matrix

Transitive Closure Matrix

Shortest-path algorithm

DFS and BFS traversal

Floyd all-pairs shortest path algorithm

Topological Sort

Reverse DFS Topological Sort

I googled them but couldn't get enough success. Please help me out. Any
suggestions would be appreciated. Thanks a lot!
lamont - 07 Apr 2006 05:35 GMT
There is a graph package available on sourceforge with most of these
algorithms already implemented.

Here is a link: http://jung.sourceforge.net/

Hope this helps.
Ronan - 07 Apr 2006 09:04 GMT
Thanks, that helps me a lot! Cheers!
Chris Uppal - 07 Apr 2006 09:30 GMT
> I googled them but couldn't get enough success.

For things like these it's also worth looking for C (and, perhaps, C++)
implementations.  It's usually pretty easy to translate C to Java.

   -- chris
Lee Peedin - 07 Apr 2006 11:31 GMT
Ronan,
You wouldn't happen to be taking courses at UNC Wilmington, would you?
Your list of examples sounds just like what the guy in the office next
to me, who's working on his Masters, has been toiling with for several
months.

Sure hope that's not the case, cause if it is, you're way behind. :-)

Lee

>Hi there, is there anyway I can get simple algorithms, java examples of
>these below -
[quoted text clipped - 15 lines]
>I googled them but couldn't get enough success. Please help me out. Any
>suggestions would be appreciated. Thanks a lot!
Ronan - 07 Apr 2006 20:26 GMT
Nah, I'm not that guy :)


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.