Click or drag to resize

CentroidFunction<TInstance> Delegate

Represents a delegate for functions calculating the centroids of Cluster<TInstance> objects, i.e., they calculate the representative element of a given cluster.

Namespace:  Aglomera
Assembly:  Aglomera (in Aglomera.dll) Version: 1.1.0
Syntax
C#
public delegate TInstance CentroidFunction<TInstance>(
	Cluster<TInstance> cluster
)
where TInstance : Object, IComparable<TInstance>

Parameters

cluster
Type: Aglomera.Cluster<TInstance>
The cluster whose representative we want to retrieve.

Type Parameters

TInstance
The type of instance considered.

Return Value

Type: TInstance
The representative of the given cluster according to some criterion defined by this function.
See Also