- Timestamp:
- 03/07/16 10:18:05 (9 years ago)
- Location:
- branches/WebJobManager
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Algorithms.DataAnalysis/3.4/kMeans/KMeansClusteringModel.cs
r12509 r13656 21 21 22 22 using System.Collections.Generic; 23 using System.Drawing;24 23 using System.Linq; 25 24 using HeuristicLab.Common; … … 35 34 [Item("KMeansClusteringModel", "Represents a k-Means clustering model.")] 36 35 public sealed class KMeansClusteringModel : NamedItem, IClusteringModel { 37 public static new Image StaticItemImage { 38 get { return HeuristicLab.Common.Resources.VSImageLibrary.Function; } 39 } 36 40 37 41 38 [Storable] 42 39 private string[] allowedInputVariables; 43 public IEnumerable<string> AllowedInputVariables { 40 public IEnumerable<string> AllowedInputVariables 41 { 44 42 get { return allowedInputVariables; } 45 43 } 46 44 [Storable] 47 45 private List<double[]> centers; 48 public IEnumerable<double[]> Centers { 49 get { 46 public IEnumerable<double[]> Centers 47 { 48 get 49 { 50 50 return centers.Select(x => (double[])x.Clone()); 51 51 }
Note: See TracChangeset
for help on using the changeset viewer.