*/
ArrivalVertex fromStopVertex = (ArrivalVertex) vFrom;
StopEntry fromStop = fromStopVertex.getStop();
BlockDepartureVertex toStopVertex = (BlockDepartureVertex) vTo;
ArrivalAndDepartureInstance departureInstance = toStopVertex.getInstance();
StopEntry toStop = departureInstance.getStop();
addTransferLegIfNeeded(state, fromStop, toStop, options, legs);
}
} else if (edge instanceof TPTransferEdge) {