Google Maps Route Optimization V1 Client - Class SearchMode (0.2.0)

Reference documentation and code samples for the Google Maps Route Optimization V1 Client class SearchMode.

Mode defining the behavior of the search, trading off latency versus solution quality. In all modes, the global request deadline is enforced.

Protobuf type google.maps.routeoptimization.v1.OptimizeToursRequest.SearchMode

Namespace

Google \ Maps \ RouteOptimization \ V1 \ OptimizeToursRequest

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SEARCH_MODE_UNSPECIFIED

Value: 0

Unspecified search mode, equivalent to RETURN_FAST.

Generated from protobuf enum SEARCH_MODE_UNSPECIFIED = 0;

RETURN_FAST

Value: 1

Stop the search after finding the first good solution.

Generated from protobuf enum RETURN_FAST = 1;

CONSUME_ALL_AVAILABLE_TIME

Value: 2

Spend all the available time to search for better solutions.

Generated from protobuf enum CONSUME_ALL_AVAILABLE_TIME = 2;