src/main/java/com/conveyal/gtfs/stats/PatternStats.java
public double getAverageStopSpacing (String pattern_id) {
        Pattern pattern = feed.patterns.get(pattern_id);
        return getPatternDistance(pattern_id) / pattern.orderedStops.size();
    }
public double getAverageStopSpacing (String pattern_id) {
        Pattern pattern = feed.patterns.get(pattern_id);
        return getPatternDistance(pattern_id) / pattern.orderedStops.size();
    }
public double getAverageStopSpacing ( String pattern_id ) { Pattern pattern = feed . patterns . get ( pattern_id ) ; return getPatternDistance ( pattern_id ) / pattern . orderedStops . size ( ) ; }
Get average stop spacing for a pattern.
@param pattern_id
@return avg. stop spacing (in meters)
Get average stop spacing for a pattern .