Writes results list (clusters => centroid and entities list,
energy) to the given response
Namespace:
Cloudster.HelpersAssembly: Cloudster.Helpers (in Cloudster.Helpers.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public static void WriteResults<TEntity>( TextWriter writer, ISerializer<TEntity> serializer, IDistance<TEntity> distance, Settings settings ) where TEntity : Entity |
Visual Basic (Declaration) |
---|
Public Shared Sub WriteResults(Of TEntity As Entity) ( _ writer As TextWriter, _ serializer As ISerializer(Of TEntity), _ distance As IDistance(Of TEntity), _ settings As Settings _ ) |
Visual C++ |
---|
public: generic<typename TEntity> where TEntity : Entity static void WriteResults( TextWriter^ writer, ISerializer<TEntity>^ serializer, IDistance<TEntity>^ distance, Settings^ settings ) |
Parameters
- writer
- Type: System.IO..::.TextWriter
HtmlTextWriter to write to
- serializer
- Type: Cloudster..::.ISerializer<(Of <(TEntity>)>)
Entity serializer
- distance
- Type: Cloudster..::.IDistance<(Of <(TEntity>)>)
Distance computer between entities
- settings
- Type: Cloudster..::.Settings
Settings to use
Type Parameters
- TEntity
- Type of entities