TraverseOptions options = s0.getOptions();
if (options.isArriveBy())
return null;
State results = null;
for (StopTimeInstance instance : _instances) {
TPOfflineTransferVertex vTransfer = new TPOfflineTransferVertex(_context,
instance);
EdgeNarrative nTransfer = narrative(s0, _vFrom, vTransfer);
StateEditor edit = s0.edit(this, nTransfer);
long t = instance.getDepartureTime();
edit.setTime(t);
long startTime = t - _transferTime * 1000;
edit.setStartTime(startTime);
double w = _transferTime * options.walkReluctance;
edit.incrementWeight(w);
State rTransfer = edit.makeState();
results = rTransfer.addToExistingResultChain(results);
}
return results;
}