class OptimizeService
- OptimizeService
- Reference
- Object
Defined in:
services/optimizeService.crClass Method Summary
-
.calculateAveragePopularity(api_data : Array(Location), dimension : String) : Float64
Helper function to calculate the average popularity of a dimension
-
.onlyOptimize(id : Int32, api_data : Array(Location)) : Array(Int32)
Function to reorder travel stops
Class Method Detail
Helper function to calculate the average popularity of a dimension
Function to reorder travel stops