From: alexti <al...@sh...> - 2010-03-21 16:57:07
|
Hi Erik, I've meant (2), but (1) is also included. And I agree that (1) is much simpler. Alex. On Sun, 21 Mar 2010 08:48:58 -0600, Erik Vos <eri...@xs...> wrote: > Hi Alex, > > Of course there is much interest in handling routes. > > To me, "route calculation" sounds ambiguous, as it could mean two > different > things: > 1. Route determination, for the purpose of selecting valid tile and token > lays. > 2. Revenue calculation. > I suppose you refer to the latter. Rails has neither yet. > > If I would ever have the time and guts to turn my developments efforts to > the subject of routes, I would start with the former, which I guess is > easiest to start with, and also much needed. > > In any case, Rails does not yet maintain a connection grid, but the bits > and > pieces (tracks and stations) do exist as attributes of the Tile class. > From > there it shouldn't be too difficult to compose a complete connection > grid. > > Feel free to download the source code and try sorting out where and how > your > code might fit in. > > Erik. > > -----Original Message----- > From: Alex Tikhonov [mailto:al...@sh...] > Sent: Sunday 21 March 2010 01:10 > To: rai...@li... > Subject: [Rails-devel] Automatic route calculation > > Hi all, > > Per Brett Lentz suggestion I am moving this discussion here and reporting > my message from 18x yahoo group. > > This is my first post here, but I have been lurking for a while. I wonder > if there is an interest in adding automatic route calculation to Rails. I > am trying to create AI for some of the games (and no, it's not going > well), but as a side effect I have code that computes the routes. It > supports some of more widely used rules (various town treatment, city and > route bonuses, multipliers etc). It runs on an abstract connectivity > graph, so it should not be too hard to integrate. > > Alex. > > ---------------------------------------------------------------------------- > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ |