You are viewing Nextmv legacy docs. ⚡️ Go to latest docs ⚡️

Sdk

v0.14.0 Upgrade Guide

Nextmv SDK

Note, this release includes breaking changes for fleet engine users only.

  • Set your go.mod requirements to match the new version.
require (
   github.com/nextmv-io/code/engines v0.14.0
   github.com/nextmv-io/code/hop v0.14.0
)
Copy

The DefaultTimeTracker now takes two additional parameters, the indices of the vehicle's start/end location.

timeTracker := vehicleEngine.DefaultTracker(
    shiftStart,
    windowDomains,
    travelTimeMeasures,
    serviceTimes,
    durationGroups,
    maxWaitTimes,
)
Copy

See the release notes for more information on what's included in v0.14.0.

Page last updated