resolve_disputes: Resolve disputes so each node are only assigned one cluster

View source: R/initial_routes.R

resolve_disputesR Documentation

Resolve disputes so each node are only assigned one cluster

Description

Resolve disputes so each node are only assigned one cluster

Usage

resolve_disputes(init_routes, cluster, obj = "most_frequent")

Arguments

init_routes

a list of initial routes obtained from the 'initial_route2' function

cluster

a vector of clusters obtained from the 'route_clustering' function

obj

what objective to use when solving the disputes, currently there are "most_frequent" and "highest_score"

Value

list containing the zones as well as the zones of only undisputed nodes


Rosenkrands/dz documentation built on June 26, 2022, 10:43 p.m.