How Waze calculates routes

From Wazeopedia