clustering: Generate clusters based on an instance

View source: R/clustering.R

clusteringR Documentation

Generate clusters based on an instance

Description

Given an instance, number of clusters and a clustering method the function assigns each node of the problem instance a zone.

Usage

clustering(
  inst,
  k,
  L,
  eps = 0,
  variances,
  info,
  cluster_method = c("greedy", "local_search"),
  alpha = 1
)

Arguments

inst

An object returned from the 'instance' function

k

The number of clusters

L

The length constraint for each agent

eps

A sensitivity parameter for the preprocessing of the instance with regards to excluding points that are too far away.

cluster_method

The method with which to perform the clustering

alpha

weight between mean distance/total profit and relevancy

Value

A list ...


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