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 .