Click here to Skip to main content
12,623,511 members (30,283 online)

Algorithms

 
GeneralRe: Puzzle 8 Solving with bfs Pin
mohammadkaab26-Sep-12 22:36
membermohammadkaab26-Sep-12 22:36 
QuestionBit Interleaver Pin
Skippums24-Sep-12 17:07
memberSkippums24-Sep-12 17:07 
QuestionImage processing Pin
fabio_antonio23-Sep-12 9:25
memberfabio_antonio23-Sep-12 9:25 
AnswerRe: Image processing Pin
Alan Balkany24-Sep-12 5:46
memberAlan Balkany24-Sep-12 5:46 
QuestionChecking the network Pin
en41115-Sep-12 8:24
memberen41115-Sep-12 8:24 
AnswerlinkRe: Checking the network Pin
YvesDaoust21-Sep-12 1:11
memberYvesDaoust21-Sep-12 1:11 
Questionan optimal elevator-use algorithm Pin
BillWoodruff13-Sep-12 4:38
memberBillWoodruff13-Sep-12 4:38 
AnswerRe: an optimal elevator-use algorithm Pin
Alan Balkany13-Sep-12 5:41
memberAlan Balkany13-Sep-12 5: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 5:35
memberBillWoodruff19-Sep-12 5:35 
QuestionPlease, poke holes in my cryptographic function... Pin
SixOfTheClock13-Sep-12 1:52
memberSixOfTheClock13-Sep-12 1:52 
QuestionWhat kind of checksum can this be? Pin
GrooverFromHolland9-Sep-12 10:18
memberGrooverFromHolland9-Sep-12 10:18 
AnswerRe: What kind of checksum can this be? Pin
Alan N9-Sep-12 12:55
memberAlan N9-Sep-12 12:55 
GeneralRe: What kind of checksum can this be? Pin
GrooverFromHolland9-Sep-12 23:15
memberGrooverFromHolland9-Sep-12 23:15 
QuestionLinear Regression Most Efficient algorithm calc Line of Best Fit Pin
A*****4-Sep-12 20:24
memberA*****4-Sep-12 20:24 
AnswerRe: Linear Regression Most Efficient algorithm calc Line of Best Fit Pin
Peter_in_27804-Sep-12 21:17
memberPeter_in_27804-Sep-12 21:17 
QuestionRunning out of Memory - Maths Check Pin
Mike-MadBadger3-Sep-12 8:52
memberMike-MadBadger3-Sep-12 8:52 
AnswerRe: Running out of Memory - Maths Check Pin
Andrei Straut3-Sep-12 10:03
memberAndrei Straut3-Sep-12 10:03 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger3-Sep-12 11:11
memberMike-MadBadger3-Sep-12 11:11 
GeneralRe: Running out of Memory - Maths Check Pin
Andrei Straut3-Sep-12 11:56
memberAndrei Straut3-Sep-12 11:56 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger3-Sep-12 12:18
memberMike-MadBadger3-Sep-12 12:18 
GeneralRe: Running out of Memory - Maths Check Pin
harold aptroot3-Sep-12 22:54
memberharold aptroot3-Sep-12 22:54 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger4-Sep-12 1:26
memberMike-MadBadger4-Sep-12 1:26 
AnswerRe: News Page Pin
Mike-MadBadger3-Sep-12 22:12
memberMike-MadBadger3-Sep-12 22:12 
AnswerRe: Running out of Memory - Maths Check Pin
YvesDaoust4-Sep-12 0:21
memberYvesDaoust4-Sep-12 0:21 
GeneralRe: Running out of Memory - Maths Check Pin
Mike-MadBadger4-Sep-12 1:29
memberMike-MadBadger4-Sep-12 1: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.


Advertise | Privacy | Mobile
Web02 | 2.8.161128.1 | Last Updated 21 Nov 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid