comp.lang.ada
 help / color / mirror / Atom feed
From: Charles Hixson <charleshixsn@earthlink.net>
Subject: Re: Bus Schedules
Date: 2000/01/18
Date: 2000-01-18T00:00:00+00:00	[thread overview]
Message-ID: <3884E682.1093B7F6@earthlink.net> (raw)
In-Reply-To: 85vaqu$b2a$1@nnrp1.deja.com

Depends on what he means.  I once spent several months programming a bus
schedule system in Fox Pro.  One needs to be able to accept some of the
stranger things as input data, and the way times are represented ---
shudder.

Eventually I insisted on some restrictions on the forms that data could
take on arrival.  Then it was possible to make a go of it.  But it was a
several months project.

I think the first step it to get a decent database to hold the data as you
acquire it, define what you will accept as valid times (I ended up using
03:00 -> 25:00).  Figure out whether or not you will be able to get the
times presented in 24 hour format (or even [pray for it] a format based on
the number of minutes since midnight of the base day [that's what I ended
up recalculating all the times to, but if you can get clean data in that
form you'll save yourself a lot of effort!]).

How many users will need to be accessing the system simultaneously?  Can
you just keep it simple, and give them access to a read-only copy?

If it's going to be available on separated machines, do you need to go to
each one to set up an ODBC connection?  Or is it simpler to manage your own
b-tree lookup?  (Depends on implementation considerations.)

Sorry I don't have anything pre-built, but that's a starting list of
considerations (i.e., the one's that I remember off the top of my head).

Ted Dennison wrote:

> In article <s83og4rbeh665@corp.supernews.com>,
>   "Arthur Schwarz" <aschwarz@acm.org> wrote:
> > Anyone know any Ada software which can calculate a
> > bus schedule? This includes major/minor frame calculations
> > and so on.
>
> That sounds like it would make a really good programming assignment for
> students.
>
> --
> T.E.D.
>
> http://www.telepath.com/~dennison/Ted/TED.html
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.





      parent reply	other threads:[~2000-01-18  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-16  0:00 Bus Schedules Arthur Schwarz
2000-01-17  0:00 ` Ted Dennison
2000-01-17  0:00   ` Arthur Schwarz
2000-01-18  0:00     ` Ted Dennison
2000-01-18  0:00   ` Charles Hixson [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox