Click here to Skip to main content
15,899,005 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Backus-Naur Form Terminology Pin
Richard Andrew x643-Aug-09 15:28
professionalRichard Andrew x643-Aug-09 15:28 
GeneralRe: Backus-Naur Form Terminology Pin
Luc Pattyn3-Aug-09 15:36
sitebuilderLuc Pattyn3-Aug-09 15:36 
GeneralRe: Backus-Naur Form Terminology Pin
Richard Andrew x643-Aug-09 15:39
professionalRichard Andrew x643-Aug-09 15:39 
QuestionAny algorithm for allocation Pin
Sabari MD31-Jul-09 1:03
Sabari MD31-Jul-09 1:03 
QuestionRe: Any algorithm for allocation Pin
harold aptroot31-Jul-09 1:28
harold aptroot31-Jul-09 1:28 
AnswerRe: Any algorithm for allocation Pin
Sabari MD31-Jul-09 1:45
Sabari MD31-Jul-09 1:45 
AnswerRe: Any algorithm for allocation Pin
Luc Pattyn31-Jul-09 1:39
sitebuilderLuc Pattyn31-Jul-09 1:39 
AnswerRe: Any algorithm for allocation Pin
Moreno Airoldi1-Aug-09 1:13
Moreno Airoldi1-Aug-09 1:13 
As Harold said, it really depends on what you mean by "well placed".

If you just treat all images as rectangles, then a greedy algorithm (see knapsack problem, as Luc suggested) surely is the simplest and fastest solution.

If you go for that, remember you should manage situations where there is no solution (for example if you want ALL images placed in your blank space: it may not be possible). You may also have to go through different placing patterns in order to find a solution, so a one-go greedy algorithm may not be sufficient.

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

QuestionFingerprint Image Quality Algorithm Pin
Member 90279629-Jul-09 21:23
Member 90279629-Jul-09 21:23 
AnswerRe: Fingerprint Image Quality Algorithm Pin
Fatbuddha 13-Aug-09 1:17
Fatbuddha 13-Aug-09 1:17 
GeneralRe: Fingerprint Image Quality Algorithm Pin
Member 9027963-Aug-09 18:20
Member 9027963-Aug-09 18:20 
GeneralRe: Fingerprint Image Quality Algorithm Pin
Fatbuddha 13-Aug-09 23:49
Fatbuddha 13-Aug-09 23:49 
QuestionBarrel distortion correction Pin
GloriaWiktoria27-Jul-09 10:51
GloriaWiktoria27-Jul-09 10:51 
AnswerRe: Barrel distortion correction Pin
Luc Pattyn27-Jul-09 11:36
sitebuilderLuc Pattyn27-Jul-09 11:36 
QuestionTiny Encryption Algorithm Help????? Pin
ChiSmile26-Jul-09 9:50
ChiSmile26-Jul-09 9:50 
AnswerRe: Tiny Encryption Algorithm Help????? Pin
Luc Pattyn27-Jul-09 11:38
sitebuilderLuc Pattyn27-Jul-09 11:38 
Questiondepth first search help.. Pin
neha_rai25-Jul-09 8:00
neha_rai25-Jul-09 8:00 
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 

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.