/**
* Skip a vertex that has moved on to the next service date
*/
if (vertex instanceof HasStopTimeInstanceTransitVertex) {
HasStopTimeInstanceTransitVertex v = (HasStopTimeInstanceTransitVertex) vertex;
StopTimeInstance instance = v.getInstance();
if (instance.getServiceDate() > _serviceDate + 12 * 60 * 60 * 1000)
return true;
}
/**
* Print the visited stop count as a show of progress
*/
if (vertex instanceof HasStopTransitVertex) {
HasStopTransitVertex v = (HasStopTransitVertex) vertex;
StopEntry stop = v.getStop();
if (_stops.add(stop) && _stops.size() % 100 == 0) {
System.out.println("stops=" + _stops.size());
if (_stops.size() == 13900)
System.out.println("here");
}