WaypointOptimizationClusteringOptions
¶
Used by
-
AsyncGeoRoutesClient Operationsoptimize_waypoints -
GeoRoutesClient Operationsoptimize_waypoints
Source code in docs_src/capo_geo_routes/types/waypoint_optimization_clustering_options.py
algorithm
instance-attribute
¶
algorithm: WaypointOptimizationClusteringAlgorithm
The algorithm to be used. DrivingDistance assigns all the waypoints that are within driving distance of each other into a single cluster. TopologySegment assigns all the waypoints that are within the same topology segment into a single cluster. A Topology segment is a linear stretch of road between two junctions.
driving_distance_options
instance-attribute
¶
driving_distance_options: NotRequired[WaypointOptimizationDrivingDistanceOptions]
Driving distance options to be used when the clustering algorithm is DrivingDistance.