Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/gtfs_stops_clustering/dbscan.rb

Overview

Array class

Instance Method Summary collapse

Instance Method Details

#haversine_distance2(other) ⇒ Object



11
12
13
# File 'lib/gtfs_stops_clustering/dbscan.rb', line 11

def haversine_distance2(other)
  Geocoder::Calculations.distance_between(self, other)
end