Cluster.cs 385 B

1234567891011121314151617
  1. using System.Collections.Generic;
  2. namespace Dbscan
  3. {
  4. /// <summary>
  5. /// A collection of items that have been clustered by the algorithm.
  6. /// </summary>
  7. /// <typeparam name="T">The type of elements in the cluster.</typeparam>
  8. public class Cluster<T>
  9. {
  10. /// <summary>
  11. /// The items that have been clustered.
  12. /// </summary>
  13. public IReadOnlyList<T> Objects { get; set; }
  14. }
  15. }