Compute centroid of some bunch of texts.

Namespace:  Cloudster.Samples.Text
Assembly:  Cloudster.Samples.Text.Role (in Cloudster.Samples.Text.Role.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public TextEntity Compute(
	IEnumerable<TextEntity> entities,
	out bool isNew
)
Visual Basic (Declaration)
Public Function Compute ( _
	entities As IEnumerable(Of TextEntity), _
	<OutAttribute> ByRef isNew As Boolean _
) As TextEntity
Visual C++
public:
virtual TextEntity^ Compute(
	IEnumerable<TextEntity^>^ entities, 
	[OutAttribute] bool% isNew
) sealed

Parameters

entities
Type: System.Collections.Generic..::.IEnumerable<(Of <(TextEntity>)>)
Bunch of texts.
isNew
Type: System..::.Boolean %
Always true.

Return Value

Computed centroid.

Implements

ICentroidComputer<(Of <(TEntity>)>)..::.Compute(IEnumerable<(Of <(TEntity>)>), Boolean%)

See Also