GenericHeuristic: Abstract Feature Clustering heuristic object.

GenericHeuristicR Documentation

Abstract Feature Clustering heuristic object.

Description

Abstract class used as a template to define new customized clustering heuristics.

Details

The GenericHeuristic is an archetype class so it cannot be instantiated.

Methods

Public methods


Method new()

Empty function used to initialize the object arguments in runtime.

Usage
GenericHeuristic$new()

Method heuristic()

Function used to implement the clustering heuristic.

Usage
GenericHeuristic$heuristic(col1, col2, column.names = NULL, ...)
Arguments
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.

Returns

A numeric vector of length 1.


Method clone()

The objects of this class are cloneable with this method.

Usage
GenericHeuristic$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Dataset


D2MCS documentation built on Aug. 23, 2022, 5:07 p.m.