From: Erik V. <eri...@xs...> - 2012-01-02 12:31:59
|
> 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. |