Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #1183
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.chainon-marquant.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!74.125.46.80.MISMATCH!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
|---|---|
| From | Lew <lewbloch@gmail.com> |
| Newsgroups | comp.lang.java.help |
| Subject | Re: Java Algorithm for elevator system |
| Date | Sun, 2 Oct 2011 00:21:16 -0700 (PDT) |
| Organization | http://groups.google.com |
| Lines | 35 |
| Message-ID | <11342565.845.1317540076499.JavaMail.geo-discussion-forums@prfc6> (permalink) |
| References | <59e09820-015b-4187-82a5-b29dce2afde5@g29g2000yqh.googlegroups.com> |
| Reply-To | comp.lang.java.help@googlegroups.com |
| NNTP-Posting-Host | 173.164.137.214 |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | posting.google.com 1317540076 27066 127.0.0.1 (2 Oct 2011 07:21:16 GMT) |
| X-Complaints-To | groups-abuse@google.com |
| NNTP-Posting-Date | Sun, 2 Oct 2011 07:21:16 +0000 (UTC) |
| In-Reply-To | <59e09820-015b-4187-82a5-b29dce2afde5@g29g2000yqh.googlegroups.com> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=173.164.137.214; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T |
| User-Agent | G2/1.0 |
| X-Google-Web-Client | true |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.help:1183 |
Show key headers only | View raw
Anshu wrote: > 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. <http://lmgtfy.com/?q=java+elevator+simulator> In general terms, Patricia Shanahan, Ph.D., has put together some advice on how to approach any programming problem: <http://home.earthlink.net/~patricia_shanahan/beginner.html> I'll only add that it is a good idea to create a model of how elevators operate, or at least of how an idealized elevator would operate. This model should be quite independent of any programming language. Rather, it would be a precise description of the operations, commands and behaviors of the system. "Nouns and verbs analysis", I call it. What things do stuff, and what stuff do they do? Now as for needing an algorithm that "need not be .. complex but I need some fancy algorithm", that's rather a contradiction. "Fancy" is pretty much equivalent to "complex". You say "SCAN, LOOK, FCFS, etc." as if that makes any sense to anyone. Define your behaviors completely - if you want to keep things simple, define fewer behaviors. In other words, there shouldn't be any "etc." FIgure out what a "SCAN" is (if you're supporting that behavior). It's more than a label; it's a to-be-defined set of very specific changes to your system state. -- Lew
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