sample_voyages.go 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. package model
  2. // A set of sample voyages.
  3. var (
  4. V100 = NewVoyage("V100", Schedule{
  5. []CarrierMovement{
  6. {DepartureLocation: CNHKG, ArrivalLocation: JNTKO},
  7. {DepartureLocation: JNTKO, ArrivalLocation: USNYC},
  8. },
  9. })
  10. V300 = NewVoyage("V300", Schedule{
  11. []CarrierMovement{
  12. {DepartureLocation: JNTKO, ArrivalLocation: NLRTM},
  13. {DepartureLocation: NLRTM, ArrivalLocation: DEHAM},
  14. {DepartureLocation: DEHAM, ArrivalLocation: AUMEL},
  15. {DepartureLocation: AUMEL, ArrivalLocation: JNTKO},
  16. },
  17. })
  18. V400 = NewVoyage("V400", Schedule{
  19. []CarrierMovement{
  20. {DepartureLocation: DEHAM, ArrivalLocation: SESTO},
  21. {DepartureLocation: SESTO, ArrivalLocation: FIHEL},
  22. {DepartureLocation: FIHEL, ArrivalLocation: DEHAM},
  23. },
  24. })
  25. )
  26. // These voyages are hard-coded into the current pathfinder. Make sure
  27. // they exist.
  28. var (
  29. V0100S = NewVoyage("0100S", Schedule{[]CarrierMovement{}})
  30. V0200T = NewVoyage("0200T", Schedule{[]CarrierMovement{}})
  31. V0300A = NewVoyage("0300A", Schedule{[]CarrierMovement{}})
  32. V0301S = NewVoyage("0301S", Schedule{[]CarrierMovement{}})
  33. V0400S = NewVoyage("0400S", Schedule{[]CarrierMovement{}})
  34. )