double w = ItineraryWeightingLibrary.computeWeightForWait(s0, dwellTime);
EdgeNarrative narrative = narrative(s0, fromV, toV);
OBAStateEditor edit = (OBAStateEditor) s0.edit(this, narrative);
edit.setTime(departure.getBestDepartureTime());
edit.incrementWeight(w);
/**
* If the departure time is less than the starting state time, it must
* mean the departure was included as determined by the lookahead
* parameter. Thus, we indicate that we have a lookahead itinerary.