Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #1184
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Newsgroups | comp.lang.java.help |
| Subject | Re: Java Algorithm for elevator system |
| Date | 2011-10-02 06:24 -0700 |
| Organization | Canadian Mind Products |
| Message-ID | <7bpg87hqteconm56si749996nlc0s3kkt9@4ax.com> (permalink) |
| References | <59e09820-015b-4187-82a5-b29dce2afde5@g29g2000yqh.googlegroups.com> |
On Sat, 1 Oct 2011 23:58:40 -0700 (PDT), Anshu <anshu.basia@gmail.com> wrote, quoted or indirectly quoted someone who said : > >I'm looking for some java based algorithm for elevator simulation, >which will control elevator movement. If any one can give any pointers >on this, it will be of great help to my research paper. The algorithm >need not be a complex one but i need some fancy algorithm as mentioned >in wikipedia like SCAN, LOOK, FCFS, etc. Just play with some toys to represent the cars. Just move the cars in the "sensible" way without thinking about why you are doing anything. After you get the hang of things and have the elevators behaving reasonably, write down your moves. Then look at them and see if you can reproduce them with a set of rules of thumb. Based on that, perhaps you can improve the rules. The more info you have, the better you can do, e.g. total weight of passenger is the car, how many people are waiting at a given spot. -- Roedy Green Canadian Mind Products http://mindprod.com It should not be considered an error when the user starts something already started or stops something already stopped. This applies to browsers, services, editors... It is inexcusable to punish the user by requiring some elaborate sequence to atone, e.g. open the task editor, find and kill some processes.
Back to comp.lang.java.help | Previous | Next — Previous in thread | Next in thread | Find similar
Java Algorithm for elevator system Anshu <anshu.basia@gmail.com> - 2011-10-01 23:58 -0700
Re: Java Algorithm for elevator system Lew <lewbloch@gmail.com> - 2011-10-02 00:21 -0700
Re: Java Algorithm for elevator system Patricia Shanahan <pats@acm.org> - 2011-10-02 07:20 -0700
Re: Java Algorithm for elevator system Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2011-10-02 16:16 -0700
Re: Java Algorithm for elevator system Roedy Green <see_website@mindprod.com.invalid> - 2011-10-02 06:24 -0700
Re: Java Algorithm for elevator system Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-10-02 09:33 -0400
Re: Java Algorithm for elevator system "Charles Hottel" <chottel@earthlink.net> - 2011-10-02 12:02 -0400
csiph-web