Loading

Paste #pucuvxx6y

  1. Trans-Siberian
  2.  
  3. Check map dimensions
  4.  
  5. If rectangular:
  - choose long axis
  6. If square
  7.     - choose random axis
  8.  
  9. For each end of axis
  10.     - find 3 towns nearest to axis end
  11.         - if town size parameter is 'favour larger'
  12.         - choose largest of the 3
  13.     - if town size parameter is 'favour smaller'
  14.         - choose smallest of the 3
  15.     - if town size parameter is 'random'
  16.         - choose 1 at random from the 3
  17.  
  18. Primary goal is then to build a route providing continuous service between the two towns.
  19. Secondary goal is to connect n subsidiary towns.
  20.  
  21. Unknowns
  22.  
  23. - how to measure continuous service?  Can a cargo monitor detect origin of cargo on delivery?
  24. - how to select towns for the secondary goals.

Comments