Main constructor of the SequentialKMeans<(Of <(TEntity>)>) class, used to provide objects implementing the various interfaces used by the algorithm.

Namespace:  Cloudster
Assembly:  Cloudster.CoreLib (in Cloudster.CoreLib.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public SequentialKMeans(
	IDistance<TEntity> distanceComputer,
	ICentroidComputer<TEntity> centroidComputer,
	IDataAccessor<TEntity> dataAccessor
)
Visual Basic (Declaration)
Public Sub New ( _
	distanceComputer As IDistance(Of TEntity), _
	centroidComputer As ICentroidComputer(Of TEntity), _
	dataAccessor As IDataAccessor(Of TEntity) _
)
Visual C++
public:
SequentialKMeans(
	IDistance<TEntity>^ distanceComputer, 
	ICentroidComputer<TEntity>^ centroidComputer, 
	IDataAccessor<TEntity>^ dataAccessor
)

Parameters

distanceComputer
Type: Cloudster..::.IDistance<(Of <(TEntity>)>)
The object which will compute the distances between entities
centroidComputer
Type: Cloudster..::.ICentroidComputer<(Of <(TEntity>)>)
The object which will compute the clusters centroids
dataAccessor
Type: Cloudster..::.IDataAccessor<(Of <(TEntity>)>)
Data accessor object

See Also