From: Stefan F. <ste...@we...> - 2012-01-02 18:22:02
|
Erik: running a virtual 2-train for any game is essentially identical to > i) Check if there is a route that connects one home token of the company > with another scoring node (which is a valid terminate for a train in this game). which was the option you preferred. However it avoids adding further route finding code (which would be essentially code duplication). Or do you have other ideas in mind? Stefan On Monday, January 02, 2012 01:31:52 pm Erik Vos wrote: > > My current favorite for an implementation is to run a virtual 2-train and > > check > > > if it shows non-zero income => Company has a route. That will run fast, > > is easy to implement and very close to what players might usually > > expect. > > This > > > method could/should be implemented inside the algorithm package. > > Please be aware that in some games a minimal route requires a different > train, such as the good trains in 18VA and 1837 (coal companies). > In these cases that doesn't pose a problem because trains are always (18VA) > or never (1837 CC) required, but other cases may be different. > That's why I'm not too happy with linking route existence to specific > trains. > > Erik. > > > --------------------------------------------------------------------------- > --- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a > complex infrastructure or vast IT resources to deliver seamless, secure > access to virtual desktops. With this all-in-one solution, easily deploy > virtual desktops for less than the cost of PCs and save 60% on VDI > infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |