edit.setTime(arrivalTime);
edit.incrementNumBoardings();
edit.setEverBoarded(true);
if (s0.getNumBoardings() == 0)
edit.incrementInitialWaitTime(dwellTime * 1000);
double w = ItineraryWeightingLibrary.computeWeightForWait(s0, dwellTime);
edit.incrementWeight(w);
State r = edit.makeState();