Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Algorithm / Java Code examples

Reply
Thread Tools

Algorithm / Java Code examples

 
 
Ronan
Guest
Posts: n/a
 
      04-07-2006
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!

 
Reply With Quote
 
 
 
 
lamont
Guest
Posts: n/a
 
      04-07-2006
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.

 
Reply With Quote
 
 
 
 
Ronan
Guest
Posts: n/a
 
      04-07-2006
Thanks, that helps me a lot! Cheers!

 
Reply With Quote
 
Chris Uppal
Guest
Posts: n/a
 
      04-07-2006
Ronan wrote:

> 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


 
Reply With Quote
 
Lee Peedin
Guest
Posts: n/a
 
      04-07-2006
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

On 6 Apr 2006 20:48:48 -0700, "Ronan" <>
wrote:

>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!


 
Reply With Quote
 
Ronan
Guest
Posts: n/a
 
      04-07-2006
Nah, I'm not that guy

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
.Net Tips, C# Tips : Create a well formed URI using UriBuilder classwith C# Examples and VB.Net Examples jayeshsorathia@gmail.com ASP .Net 1 07-31-2012 01:03 AM
.Net Tips, C# Tips : Get list of all files of directory or folderusing LINQ using .Net Framework 4 with C# Examples and VB.Net Examples jayeshsorathia@gmail.com ASP .Net 0 07-27-2012 07:13 AM
RESUME EXAMPLES INFORMATION / CV EXAMPLES NOW AVAILABLE THROUGHRESUMEWRITERGUIDE.COM rawebadvert3 Computer Support 0 03-23-2008 04:19 AM
COVER LETTERS RESUME EXAMPLES AND CV EXAMPLES AVAILABLE CURRICULUM VITAE rawebadvert3 Computer Support 0 08-21-2007 03:07 AM
COVER LETTERS RESUME EXAMPLES AND CV EXAMPLES AVAILABLE rawebadvert3 Computer Support 0 05-25-2007 04:18 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57