Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/02/11 02:25:51 (14 years ago)
Author:
swagner
Message:

Hid ReplacedSelectorParameter and SelectedSelectorParameter in RandomReplacer and WorstReplacer as their values are predefined and should not be changed (#1377)

Location:
trunk/sources/HeuristicLab.Selection/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Selection/3.3/RandomReplacer.cs

    r5445 r6091  
    6565      randomSelector.RandomParameter.ActualName = RandomParameter.Name;
    6666      ReplacedSelectorParameter.Value = randomSelector;
     67      ReplacedSelectorParameter.Hidden = true;
    6768      BestSelector bestSelector = new BestSelector();
    6869      bestSelector.MaximizationParameter.ActualName = MaximizationParameter.Name;
    6970      bestSelector.QualityParameter.ActualName = QualityParameter.Name;
    7071      SelectedSelectorParameter.Value = bestSelector;
     72      SelectedSelectorParameter.Hidden = true;
    7173    }
    7274  }
  • trunk/sources/HeuristicLab.Selection/3.3/WorstReplacer.cs

    r5445 r6091  
    6060      worstSelector.QualityParameter.ActualName = QualityParameter.Name;
    6161      ReplacedSelectorParameter.Value = worstSelector;
     62      ReplacedSelectorParameter.Hidden = true;
    6263      BestSelector bestSelector = new BestSelector();
    6364      bestSelector.MaximizationParameter.ActualName = MaximizationParameter.Name;
    6465      bestSelector.QualityParameter.ActualName = QualityParameter.Name;
    6566      SelectedSelectorParameter.Value = bestSelector;
     67      SelectedSelectorParameter.Hidden = true;
    6668    }
    6769  }
Note: See TracChangeset for help on using the changeset viewer.