Click here to Skip to main content
15,890,043 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Gradient map Pin
Alan Balkany9-Sep-09 5:12
Alan Balkany9-Sep-09 5:12 
Questioncomipler construction Pin
rizwana rashid7-Sep-09 8:23
rizwana rashid7-Sep-09 8:23 
AnswerRe: comipler construction Pin
Christian Graus7-Sep-09 15:55
protectorChristian Graus7-Sep-09 15:55 
AnswerRe: comipler construction Pin
mabo428-Sep-09 1:36
mabo428-Sep-09 1:36 
AnswerRe: comipler construction Pin
Luc Pattyn8-Sep-09 2:32
sitebuilderLuc Pattyn8-Sep-09 2:32 
GeneralRe: comipler construction Pin
molesworth10-Sep-09 7:27
molesworth10-Sep-09 7:27 
AnswerRe: comipler construction Pin
PIEBALDconsult24-Sep-09 17:44
mvePIEBALDconsult24-Sep-09 17:44 
AnswerRe: Help need,Spanning Tree Pin
Moreno Airoldi8-Sep-09 9:18
Moreno Airoldi8-Sep-09 9:18 
I'm not a specialist about spanning trees, but if I remember correctly Prim's algorithm can be used only to find the minimum spanning tree.

Finding the maximum spanning tree should be an NP-hard problem and as such can be solved by using a greedy algorithm.

Check these links, I didn't read them thoroughly but they should give you some hints on the algorithm you need:

http://www.personal.kent.edu/~rmuhamma/Algorithms/MyAlgorithms/Greedy/mst.htm[^]
http://www.sciencedirect.com/science?_ob=ArticleURL&_udi=B6TYW-4472K36-P&_user=10&_rdoc=1&_fmt=&_orig=search&_sort=d&_docanchor=&view=c&_searchStrId=1004846747&_rerunOrigin=google&_acct=C000050221&_version=1&_urlVersion=0&_userid=10&md5=94c6c39b092858ddf62a008f9609ee36[^]

Good luck. Smile | :)

2+2=5 for very large amounts of 2
(always loved that one hehe!)

Questionhelp needed for loops Pin
aihcezs1444-Sep-09 0:11
aihcezs1444-Sep-09 0:11 
AnswerRe: help needed for loops Pin
Richard MacCutchan4-Sep-09 0:18
mveRichard MacCutchan4-Sep-09 0:18 
GeneralRe: help needed for loops Pin
aihcezs1444-Sep-09 0:37
aihcezs1444-Sep-09 0:37 
GeneralRe: help needed for loops Pin
Richard MacCutchan4-Sep-09 0:50
mveRichard MacCutchan4-Sep-09 0:50 
GeneralRe: help needed for loops Pin
aihcezs1444-Sep-09 1:00
aihcezs1444-Sep-09 1:00 
GeneralRe: help needed for loops Pin
Luc Pattyn4-Sep-09 1:09
sitebuilderLuc Pattyn4-Sep-09 1:09 
GeneralRe: help needed for loops [modified] Pin
aihcezs1444-Sep-09 2:13
aihcezs1444-Sep-09 2:13 
GeneralRe: help needed for loops Pin
Luc Pattyn4-Sep-09 2:45
sitebuilderLuc Pattyn4-Sep-09 2:45 
GeneralRe: help needed for loops Pin
harold aptroot4-Sep-09 3:23
harold aptroot4-Sep-09 3:23 
QuestionRandom functions family Pin
Quake2Player30-Aug-09 14:31
Quake2Player30-Aug-09 14:31 
AnswerRe: Random functions family Pin
Nuri Ismail31-Aug-09 4:10
Nuri Ismail31-Aug-09 4:10 
QuestionI need help decrypting an encrypted text (I also got cleartext examples) Pin
SimpleData30-Aug-09 2:43
SimpleData30-Aug-09 2:43 
JokeRe: I need help decrypting an encrypted text (I also got cleartext examples) Pin
annathor30-Aug-09 23:23
annathor30-Aug-09 23:23 
GeneralRe: I need help decrypting an encrypted text (I also got cleartext examples) Pin
SimpleData30-Aug-09 23:24
SimpleData30-Aug-09 23:24 
GeneralRe: I need help decrypting an encrypted text (I also got cleartext examples) Pin
Richard MacCutchan31-Aug-09 7:29
mveRichard MacCutchan31-Aug-09 7:29 
GeneralRe: I need help decrypting an encrypted text (I also got cleartext examples) Pin
SimpleData31-Aug-09 8:03
SimpleData31-Aug-09 8:03 
GeneralRe: I need help decrypting an encrypted text (I also got cleartext examples) Pin
Richard MacCutchan31-Aug-09 9:21
mveRichard MacCutchan31-Aug-09 9:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.