The optimization of ship weather-routing algorithm based on the composite influence of multi-dynamic elements