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, ...)
col1
A numeric vector or matrix required to perform the clustering operation.
col2
A numeric vector or matrix to perform the clustering operation.
column.names
An 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)
deep
Whether to make a deep clone.
The GenericHeuristic is an archetype class so it cannot be instantiated.
Dataset