Computes the sum of the distances between each entity and its centroid, using the given number of clusters

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

Syntax

C#
public double Compute(
	int clustersCount
)
Visual Basic (Declaration)
Public Function Compute ( _
	clustersCount As Integer _
) As Double
Visual C++
public:
double Compute(
	int clustersCount
)

Parameters

clustersCount
Type: System..::.Int32
Number of clusters

Return Value

Energy of the system

See Also