route_clustering: Perform hierarchical clustering based on initial routes

View source: R/initial_routes.R

route_clusteringR Documentation

Perform hierarchical clustering based on initial routes

Description

Perform hierarchical clustering based on initial routes

Usage

route_clustering(
  p_inst,
  init_routes,
  k,
  measure = "position-based",
  weigthed = T,
  order_preserving = F
)

Arguments

init_routes

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

k

the number of agents

measure

what dissimilarity measure to use, can be either "element-based" or "position-based". Defaults to "position-based".

weigthed

Value

a list containing the 'hclust' object and a vector of the clusters


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