Abstract class used as a template to define new customized clustering heuristics.
new()Empty function used to initialize the object arguments in runtime.
GenericHeuristic$new()
heuristic()Function used to implement the clustering heuristic.
GenericHeuristic$heuristic(col1, col2, column.names = NULL, ...)col1A numeric vector or matrix required to perform the clustering operation.
col2A numeric vector or matrix to perform the clustering operation.
column.namesAn optional character vector with the names of both columns
...Further arguments passed down to heuristic function.
A numeric vector of length 1.
clone()The objects of this class are cloneable with this method.
GenericHeuristic$clone(deep = FALSE)deepWhether to make a deep clone.
The GenericHeuristic is an archetype class so it cannot be instantiated.
Dataset