Overview
This module solves the problem of finding the set of routes that can be run by a company to yield the highest possible revenue.
For example, the following function can find the best routes on a map for
a specific company (identified here by their Token) that owns one or
more trains, given (game-specific) rules about which
elements may be reused by a single route (conflict_rule) and which
elements may be shared by multiple routes (route_conflict_rule):
use ;
use Map;
use Token;
See the route-finding documentation for details.