Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/05/11 17:03:49 (12 years ago)
Author:
sforsten
Message:

#1669:
-Spatial co-evolution benchmark has been added
-Benchmarks of Trent McConaghy have been added
-2 Classification benchmarks have been added (Mammography and Iris dataset)
-Training and test set include now all samples from the dataset
-Load button and combo box are now disabled when the algorithm is running

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/RegressionBenchmarks/HeuristicLab.Problems.DataAnalysis.Views/3.4/DataAnalysisProblemView.cs

    r7085 r7127  
    4444    protected override void SetEnabledStateOfControls() {
    4545      base.SetEnabledStateOfControls();
    46       importButton.Enabled = !Locked && !ReadOnly && Content != null;
     46      ImportButton.Enabled = !Locked && !ReadOnly && Content != null;
     47      LoadButton.Enabled = !Locked && !ReadOnly && Content != null;
     48      BenchmarkComboBox.Enabled = !Locked && !ReadOnly && Content != null;
    4749    }
    4850
     
    5961
    6062    private void loadButton_Click(object sender, EventArgs e) {
    61       if (benchmarkComboBox.SelectedItem != null)
    62         Content.ProblemData = ((IDataAnalysisBenchmarkProblemDataGenerator)benchmarkComboBox.SelectedItem).GenerateProblemData();
     63      if (BenchmarkComboBox.SelectedItem != null)
     64        Content.ProblemData = ((IDataAnalysisBenchmarkProblemDataGenerator)BenchmarkComboBox.SelectedItem).GenerateProblemData();
    6365    }
    6466
    6567    protected override void OnContentChanged() {
    6668      base.OnContentChanged();
    67       benchmarkComboBox.Items.Clear();
    68       benchmarkComboBox.Items.AddRange(GetBenchmarkProblemDataGenerators().OrderBy(b => b.Name, new NaturalStringComparer()).ToArray());
    69       if (benchmarkComboBox.Items.Count > 0)
    70         benchmarkComboBox.SelectedIndex = 0;
     69      BenchmarkComboBox.Items.Clear();
     70      BenchmarkComboBox.Items.AddRange(GetBenchmarkProblemDataGenerators().OrderBy(b => b.Name, new NaturalStringComparer()).ToArray());
     71      if (BenchmarkComboBox.Items.Count > 0)
     72        BenchmarkComboBox.SelectedIndex = 0;
    7173    }
    7274
Note: See TracChangeset for help on using the changeset viewer.