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

Algorithms

 
GeneralRe: Puzzle 8 Solving with bfs Pin
mohammadkaab26-Sep-12 21:36
mohammadkaab26-Sep-12 21:36 
QuestionBit Interleaver Pin
Skippums24-Sep-12 16:07
Skippums24-Sep-12 16:07 
QuestionImage processing Pin
fabio_antonio23-Sep-12 8:25
fabio_antonio23-Sep-12 8:25 
AnswerRe: Image processing Pin
Alan Balkany24-Sep-12 4:46
Alan Balkany24-Sep-12 4:46 
QuestionChecking the network Pin
en41115-Sep-12 7:24
en41115-Sep-12 7:24 
AnswerlinkRe: Checking the network Pin
YvesDaoust21-Sep-12 0:11
YvesDaoust21-Sep-12 0:11 
Questionan optimal elevator-use algorithm Pin
BillWoodruff13-Sep-12 3:38
professionalBillWoodruff13-Sep-12 3:38 
AnswerRe: an optimal elevator-use algorithm Pin
Alan Balkany13-Sep-12 4:41
Alan Balkany13-Sep-12 4:41 
I've thought about this problem (while waiting for elevators!).

A few random comments: The standard algorithms used by existing elevators seem to be non-optimal; A cluster of floors where an elevator has been requested will slow down multiple elevators making everyone wait unnecessarily. This is because when the first elevator stops at the first floor in the cluster, the remaining elevators will get bogged down by the next floors in the cluster.

It would be more optimal for a single elevator to handle the cluster, while the others continue down with no delays.

It's hard to optimize for the number of people, because there's no way of knowing exactly how many people are on a particular elevator. We can make a guess, however. When an elevator stops at a requested floor, we can assume at least one person got on. But we don't know how many got off.

Using artificial intelligence may optimize the algorithm better than any "blind" approach, that doesn't take historical use patterns into account.
"Microsoft -- Adding unnecessary complexity to your work since 1987!"

GeneralRe: an optimal elevator-use algorithm Pin
BillWoodruff19-Sep-12 4:35
professionalBillWoodruff19-Sep-12 4:35 
QuestionPlease, poke holes in my cryptographic function... Pin
Saul Johnson13-Sep-12 0:52
Saul Johnson13-Sep-12 0:52 
QuestionWhat kind of checksum can this be? Pin
GrooverFromHolland9-Sep-12 9:18
GrooverFromHolland9-Sep-12 9:18 
AnswerRe: What kind of checksum can this be? PinPopular
Alan N9-Sep-12 11:55
Alan N9-Sep-12 11:55 
GeneralRe: What kind of checksum can this be? Pin
GrooverFromHolland9-Sep-12 22:15
GrooverFromHolland9-Sep-12 22:15 
QuestionLinear Regression Most Efficient algorithm calc Line of Best Fit Pin
A*****4-Sep-12 19:24
A*****4-Sep-12 19:24 
AnswerRe: Linear Regression Most Efficient algorithm calc Line of Best Fit PinPopular
Peter_in_27804-Sep-12 20:17
professionalPeter_in_27804-Sep-12 20:17 
QuestionRunning out of Memory - Maths Check Pin
M-Badger3-Sep-12 7:52
M-Badger3-Sep-12 7:52 
AnswerRe: Running out of Memory - Maths Check Pin
Andrei Straut3-Sep-12 9:03
Andrei Straut3-Sep-12 9:03 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger3-Sep-12 10:11
M-Badger3-Sep-12 10:11 
GeneralRe: Running out of Memory - Maths Check Pin
Andrei Straut3-Sep-12 10:56
Andrei Straut3-Sep-12 10:56 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger3-Sep-12 11:18
M-Badger3-Sep-12 11:18 
GeneralRe: Running out of Memory - Maths Check Pin
harold aptroot3-Sep-12 21:54
harold aptroot3-Sep-12 21:54 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger4-Sep-12 0:26
M-Badger4-Sep-12 0:26 
AnswerRe: News Page Pin
M-Badger3-Sep-12 21:12
M-Badger3-Sep-12 21:12 
AnswerRe: Running out of Memory - Maths Check Pin
YvesDaoust3-Sep-12 23:21
YvesDaoust3-Sep-12 23:21 
GeneralRe: Running out of Memory - Maths Check Pin
M-Badger4-Sep-12 0:29
M-Badger4-Sep-12 0:29 

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.