class ExpandAndOptimize

Defined in:

utils/ExpandAndOptimize.cr

Class Method Summary

Class Method Detail

def self.arrayGroupByDimension(stops : Array(Stops), popularity : Hash(String, Float64)) : Array(Stops) #

[View source]
def self.arrayGroupByLocal(stops : Array(Stops), popularity : Hash(String, Float64)) : Array(Stops) #

[View source]
def self.expand(travel_stops) #

[View source]
def self.popularity(stops) #

[View source]
def self.popularityRank(residents) #

[View source]
def self.removeResidents(stops) #

[View source]
def self.sortSubArrayByLocal(stops : Array(Stops), popularity : Hash(String, Float64)) : Array(Stops) #

[View source]