In cases were the number of seats in a row is an even number, the middle two seats should have equal value as optimum seats.
Currently only one of the two seats is considered optimum.
The only place optimumSeat is used is in the reserveSeats function. The manhattan distance calculations will probably need to be adjusted as well.
In cases were the number of seats in a row is an even number, the middle two seats should have equal value as optimum seats.
Currently only one of the two seats is considered optimum.
The only place optimumSeat is used is in the reserveSeats function. The manhattan distance calculations will probably need to be adjusted as well.