Exemple #1
0
        private void Render()
        {
            var generatorOptions = new PointsGeneratorOptions
            {
                PointsCount = 20000,
                Min = 20,
                Max = 600
            };
            var generator = new PointsGenerator(generatorOptions);

            DrawClusters(new MaximinAlgorithm().Classify(generator.GeneratePoints()));
        }
Exemple #2
0
 public PointsGenerator(PointsGeneratorOptions options)
 {
     Options = options;
 }