Learn R Programming

D2MCS (version 1.0.1)

GenericHeuristic: Abstract Feature Clustering heuristic object.

Description

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

Arguments

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.

Details

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

See Also

Dataset