CLASSPATH=./gen:$CLASSPATH java Main < program.input Initial state of the input bus route : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: ( Person1 destination: Stop1 Person2 destination: Stop1 Person3 destination: Stop2 Person4 destination: Stop1 Person5 destination: Stop3 Person6 destination: Stop2 ) Stop1 at: 2500 ft with waiting list: ( Person7 destination: Stop0 Person8 destination: Stop3 Person9 destination: Stop3 Person10 destination: Stop2 Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: ( Person12 destination: Stop3 Person13 destination: Stop1 Person14 destination: Stop3 Person15 destination: Stop1 Person16 destination: Stop1 Person17 destination: Stop0 ) Stop3 at: 6500 ft with waiting list: ( Person18 destination: Stop2 Person19 destination: Stop0 Person20 destination: Stop1 ) ) with assigned busses: ( Bus1 at: 0 ft currently at stop: Stop0 Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): () ) Next state (after 1 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person7 destination: Stop0 Person8 destination: Stop3 Person9 destination: Stop3 Person10 destination: Stop2 Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: ( Person12 destination: Stop3 Person13 destination: Stop1 Person14 destination: Stop3 Person15 destination: Stop1 Person16 destination: Stop1 Person17 destination: Stop0 ) Stop3 at: 6500 ft with waiting list: ( Person18 destination: Stop2 Person19 destination: Stop0 Person20 destination: Stop1 ) ) with assigned busses: ( Bus1 at: 0 ft Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person6 destination: Stop2 Person5 destination: Stop3 Person4 destination: Stop1 Person3 destination: Stop2 Person2 destination: Stop1 Person1 destination: Stop1 ) ) Next state (after 2 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person7 destination: Stop0 Person8 destination: Stop3 Person9 destination: Stop3 Person10 destination: Stop2 Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: ( Person12 destination: Stop3 Person13 destination: Stop1 Person14 destination: Stop3 Person15 destination: Stop1 Person16 destination: Stop1 Person17 destination: Stop0 ) Stop3 at: 6500 ft with waiting list: ( Person18 destination: Stop2 Person19 destination: Stop0 Person20 destination: Stop1 ) ) with assigned busses: ( Bus1 at: 800 ft Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person6 destination: Stop2 Person5 destination: Stop3 Person4 destination: Stop1 Person3 destination: Stop2 Person2 destination: Stop1 Person1 destination: Stop1 ) ) Next state (after 3 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person7 destination: Stop0 Person8 destination: Stop3 Person9 destination: Stop3 Person10 destination: Stop2 Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: ( Person12 destination: Stop3 Person13 destination: Stop1 Person14 destination: Stop3 Person15 destination: Stop1 Person16 destination: Stop1 Person17 destination: Stop0 ) Stop3 at: 6500 ft with waiting list: ( Person18 destination: Stop2 Person19 destination: Stop0 Person20 destination: Stop1 ) ) with assigned busses: ( Bus1 at: 1600 ft Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person6 destination: Stop2 Person5 destination: Stop3 Person4 destination: Stop1 Person3 destination: Stop2 Person2 destination: Stop1 Person1 destination: Stop1 ) ) Next state (after 4 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person7 destination: Stop0 Person8 destination: Stop3 Person9 destination: Stop3 Person10 destination: Stop2 Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: ( Person12 destination: Stop3 Person13 destination: Stop1 Person14 destination: Stop3 Person15 destination: Stop1 Person16 destination: Stop1 Person17 destination: Stop0 ) Stop3 at: 6500 ft with waiting list: ( Person18 destination: Stop2 Person19 destination: Stop0 Person20 destination: Stop1 ) ) with assigned busses: ( Bus1 at: 2400 ft Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person6 destination: Stop2 Person5 destination: Stop3 Person4 destination: Stop1 Person3 destination: Stop2 Person2 destination: Stop1 Person1 destination: Stop1 ) ) Next state (after 5 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person7 destination: Stop0 Person8 destination: Stop3 Person9 destination: Stop3 Person10 destination: Stop2 Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: ( Person12 destination: Stop3 Person13 destination: Stop1 Person14 destination: Stop3 Person15 destination: Stop1 Person16 destination: Stop1 Person17 destination: Stop0 ) Stop3 at: 6500 ft with waiting list: ( Person18 destination: Stop2 Person19 destination: Stop0 Person20 destination: Stop1 ) ) with assigned busses: ( Bus1 at: 2500 ft currently at stop: Stop1 Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person6 destination: Stop2 Person5 destination: Stop3 Person4 destination: Stop1 Person3 destination: Stop2 Person2 destination: Stop1 Person1 destination: Stop1 ) ) Next state (after 6 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: ( Person12 destination: Stop3 Person13 destination: Stop1 Person14 destination: Stop3 Person15 destination: Stop1 Person16 destination: Stop1 Person17 destination: Stop0 ) Stop3 at: 6500 ft with waiting list: ( Person18 destination: Stop2 Person19 destination: Stop0 Person20 destination: Stop1 ) ) with assigned busses: ( Bus1 at: 2500 ft Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person3 destination: Stop2 Person5 destination: Stop3 Person6 destination: Stop2 ) ) Next state (after 7 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: ( Person12 destination: Stop3 Person13 destination: Stop1 Person14 destination: Stop3 Person15 destination: Stop1 Person16 destination: Stop1 Person17 destination: Stop0 ) Stop3 at: 6500 ft with waiting list: ( Person18 destination: Stop2 Person19 destination: Stop0 Person20 destination: Stop1 ) ) with assigned busses: ( Bus1 at: 3300 ft Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person3 destination: Stop2 Person5 destination: Stop3 Person6 destination: Stop2 ) ) Next state (after 8 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: ( Person12 destination: Stop3 Person13 destination: Stop1 Person14 destination: Stop3 Person15 destination: Stop1 Person16 destination: Stop1 Person17 destination: Stop0 ) Stop3 at: 6500 ft with waiting list: ( Person18 destination: Stop2 Person19 destination: Stop0 Person20 destination: Stop1 ) ) with assigned busses: ( Bus1 at: 4100 ft Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person3 destination: Stop2 Person5 destination: Stop3 Person6 destination: Stop2 ) ) Next state (after 9 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: ( Person12 destination: Stop3 Person13 destination: Stop1 Person14 destination: Stop3 Person15 destination: Stop1 Person16 destination: Stop1 Person17 destination: Stop0 ) Stop3 at: 6500 ft with waiting list: ( Person18 destination: Stop2 Person19 destination: Stop0 Person20 destination: Stop1 ) ) with assigned busses: ( Bus1 at: 4900 ft Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person3 destination: Stop2 Person5 destination: Stop3 Person6 destination: Stop2 ) ) Next state (after 10 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: ( Person12 destination: Stop3 Person13 destination: Stop1 Person14 destination: Stop3 Person15 destination: Stop1 Person16 destination: Stop1 Person17 destination: Stop0 ) Stop3 at: 6500 ft with waiting list: ( Person18 destination: Stop2 Person19 destination: Stop0 Person20 destination: Stop1 ) ) with assigned busses: ( Bus1 at: 5000 ft currently at stop: Stop2 Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person3 destination: Stop2 Person5 destination: Stop3 Person6 destination: Stop2 ) ) Next state (after 11 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: () Stop3 at: 6500 ft with waiting list: ( Person18 destination: Stop2 Person19 destination: Stop0 Person20 destination: Stop1 ) ) with assigned busses: ( Bus1 at: 5000 ft Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person5 destination: Stop3 ) ) Next state (after 12 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: () Stop3 at: 6500 ft with waiting list: ( Person18 destination: Stop2 Person19 destination: Stop0 Person20 destination: Stop1 ) ) with assigned busses: ( Bus1 at: 5800 ft Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person5 destination: Stop3 ) ) Next state (after 13 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: () Stop3 at: 6500 ft with waiting list: ( Person18 destination: Stop2 Person19 destination: Stop0 Person20 destination: Stop1 ) ) with assigned busses: ( Bus1 at: 6500 ft currently at stop: Stop3 Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person5 destination: Stop3 ) ) Next state (after 14 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: () Stop3 at: 6500 ft with waiting list: () ) with assigned busses: ( Bus1 at: 6500 ft Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person20 destination: Stop1 Person19 destination: Stop0 Person18 destination: Stop2 ) ) Next state (after 15 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: () Stop3 at: 6500 ft with waiting list: () ) with assigned busses: ( Bus1 at: 0 ft currently at stop: Stop0 Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person20 destination: Stop1 Person19 destination: Stop0 Person18 destination: Stop2 ) ) Next state (after 16 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: () Stop3 at: 6500 ft with waiting list: () ) with assigned busses: ( Bus1 at: 0 ft Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person18 destination: Stop2 Person20 destination: Stop1 ) ) Next state (after 17 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: () Stop3 at: 6500 ft with waiting list: () ) with assigned busses: ( Bus1 at: 800 ft Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person18 destination: Stop2 Person20 destination: Stop1 ) ) Next state (after 18 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: () Stop3 at: 6500 ft with waiting list: () ) with assigned busses: ( Bus1 at: 1600 ft Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person18 destination: Stop2 Person20 destination: Stop1 ) ) Next state (after 19 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: () Stop3 at: 6500 ft with waiting list: () ) with assigned busses: ( Bus1 at: 2400 ft Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person18 destination: Stop2 Person20 destination: Stop1 ) ) Final state of the input bus route (after 20 minutes) : BusRoute: MIT / Oak Grove total route length: 7000 ft consisting of bus stops: ( Stop0 at: 0 ft with waiting list: () Stop1 at: 2500 ft with waiting list: ( Person11 destination: Stop2 ) Stop2 at: 5000 ft with waiting list: () Stop3 at: 6500 ft with waiting list: () ) with assigned busses: ( Bus1 at: 2500 ft currently at stop: Stop1 Dirver: Alex Thomson capacity: 7 passengers speed: 800 ft/min carrying passenger(s): ( Person18 destination: Stop2 Person20 destination: Stop1 ) ) *** FINISHED ***