solve_wkmeans: Weighted KMeans solution approach

View source: R/solve_wkmeans.R

solve_wkmeansR Documentation

Weighted KMeans solution approach

Description

Weighted KMeans solution approach

Usage

solve_wkmeans(instance, no_of_centers = 5, type = c("flexclust", "swkm"))

Arguments

instance

A list returned from generate_2d_instance

no_of_centers

The number of base locations to generate

type

The type of WKmeans implematation to use, options are "flexclust" or "swkm"

Value

A list

Examples

instance <- generate_2d_instance()
# solution <- solve_wkmeans(instance = instance, no_of_centers = 5)

Rosenkrands/zav documentation built on March 31, 2022, 2:16 p.m.