algorithm
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.