Click here to Skip to main content
15,889,736 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: depth first search help.. Pin
Abhijit Jana25-Jul-09 10:49
professionalAbhijit Jana25-Jul-09 10:49 
GeneralRe: depth first search help.. Pin
that_dude_tj26-Jul-09 23:22
that_dude_tj26-Jul-09 23:22 
NewsRe: depth first search help.. Pin
Abhijit Jana27-Jul-09 0:56
professionalAbhijit Jana27-Jul-09 0:56 
QuestionMerging Inputs and producting ID number [modified] Pin
ZeroPun24-Jul-09 12:35
ZeroPun24-Jul-09 12:35 
AnswerRe: Merging Inputs and producting ID number Pin
Moreno Airoldi28-Jul-09 23:31
Moreno Airoldi28-Jul-09 23:31 
GeneralRe: Merging Inputs and producting ID number Pin
Leonardo Muzzi7-Aug-09 4:00
Leonardo Muzzi7-Aug-09 4:00 
GeneralRe: Merging Inputs and producting ID number [modified] Pin
Moreno Airoldi7-Aug-09 21:57
Moreno Airoldi7-Aug-09 21:57 
GeneralRe: Merging Inputs and producting ID number Pin
Leonardo Muzzi9-Aug-09 17:33
Leonardo Muzzi9-Aug-09 17:33 
Hi there! I think the dynamic weights should be used if the scenario asks for them. If he needs to always make X1 more valuable than X2, than go with dynamic weights and increase W1 as long as he needs. If the scenario asks for different results based on the input sets, that you be nice!

I think a good approach would be using dynamic weights, but vary them based on the results. That is, choose a formula (like the sum of factors, the vector modulus or any other), implement the solution, and make a test program that do as many tests as possible. Them compare the results generated with the desirable results, and vary the weights to get closer to the desirable. The test program could even vary the weights by himself.

This would be close to a small neural network solution. The program learns how to proceed based on test data. The problem with this approach is that you need a large test data so the program can "learn" enough.

About the memory usage, a very nice suggestion! I just think that maybe shrinking the more important factors (X1, X2,...) can compromise the solution, since the least significant bits of X1, for instance, could be more important than the whole X4. But again, that depends on the scenario.

By the way, I forgot to mention that the vector modulus can be used with any quantity, not just 3, just adding more factors to the formula.

Anyway, I think the author of the post has enough to work with! Smile | :)

Regards,

Leonardo Muzzi

GeneralRe: Merging Inputs and producting ID number Pin
Moreno Airoldi9-Aug-09 22:43
Moreno Airoldi9-Aug-09 22:43 
GeneralRe: Merging Inputs and producting ID number Pin
Moreno Airoldi12-Aug-09 1:36
Moreno Airoldi12-Aug-09 1:36 
QuestionHelp! I need a book that describes hash in details. Pin
jibeex22-Jul-09 15:00
jibeex22-Jul-09 15:00 
AnswerRe: Help! I need a book that describes hash in details. Pin
Luc Pattyn22-Jul-09 15:43
sitebuilderLuc Pattyn22-Jul-09 15:43 
QuestionRe: Help! I need a book that describes hash in details. Pin
harold aptroot22-Jul-09 18:23
harold aptroot22-Jul-09 18:23 
AnswerRe: Help! I need a book that describes hash in details. Pin
riced23-Jul-09 5:59
riced23-Jul-09 5:59 
AnswerRe: Help! I need a book that describes hash in details. Pin
jibeex23-Jul-09 23:42
jibeex23-Jul-09 23:42 
GeneralRe: Help! I need a book that describes hash in details. Pin
harold aptroot25-Jul-09 13:39
harold aptroot25-Jul-09 13:39 
QuestionAbout showing the picture in Matlab Pin
Dhyanga18-Jul-09 2:01
Dhyanga18-Jul-09 2:01 
QuestionAbout Masking function in Matlab Pin
Dhyanga18-Jul-09 1:57
Dhyanga18-Jul-09 1:57 
Question[Message Deleted] Pin
deepthi0916-Jul-09 9:44
deepthi0916-Jul-09 9:44 
AnswerRe: urgent help Pin
Luc Pattyn16-Jul-09 10:04
sitebuilderLuc Pattyn16-Jul-09 10:04 
GeneralRe: urgent help Pin
Tim Craig16-Jul-09 18:18
Tim Craig16-Jul-09 18:18 
QuestionOverlapping dates Algorithem Pin
kKamel9-Jul-09 13:37
kKamel9-Jul-09 13:37 
AnswerRe: Overlapping dates Algorithem Pin
Eslam Afifi9-Jul-09 13:58
Eslam Afifi9-Jul-09 13:58 
GeneralRe: Overlapping dates Algorithem Pin
kKamel9-Jul-09 14:07
kKamel9-Jul-09 14:07 
GeneralRe: Overlapping dates Algorithem Pin
Eslam Afifi9-Jul-09 15:20
Eslam Afifi9-Jul-09 15:20 

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.