Module: GtfsStopsClustering
- Defined in:
- lib/gtfs_stops_clustering.rb,
lib/gtfs_stops_clustering/version.rb
Overview
GtfsStopClustering module
Defined Under Namespace
Classes: GtfsStopsClustering
Constant Summary collapse
- VERSION =
"0.1.7"
Instance Attribute Summary collapse
-
#gtfs_stops_clustering ⇒ Object
Returns the value of attribute gtfs_stops_clustering.
Instance Method Summary collapse
Instance Attribute Details
#gtfs_stops_clustering ⇒ Object
Returns the value of attribute gtfs_stops_clustering.
16 17 18 |
# File 'lib/gtfs_stops_clustering.rb', line 16 def gtfs_stops_clustering @gtfs_stops_clustering end |
Instance Method Details
#build_clusters(gtfs_paths, epsilon, min_points, names_similarity = 1, stop_config_path = "") ⇒ Object
73 74 75 76 |
# File 'lib/gtfs_stops_clustering.rb', line 73 def build_clusters(gtfs_paths, epsilon, min_points, names_similarity = 1, stop_config_path = "") @gtfs_stops_clustering = GtfsStopsClustering.new(gtfs_paths, epsilon, min_points, names_similarity, stop_config_path) @gtfs_stops_clustering.clusters end |