Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3816


Ignore:
Timestamp:
05/16/10 04:07:31 (15 years ago)
Author:
swagner
Message:

Removed sorting of analyzer provided by problems (#893)

Location:
trunk/sources
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/GeneticAlgorithm.cs

    r3799 r3816  
    342342      Analyzer.Operators.Clear();
    343343      if (Problem != null) {
    344         foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) {
     344        foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>()) {
    345345          foreach (IScopeTreeLookupParameter param in analyzer.Parameters.OfType<IScopeTreeLookupParameter>())
    346346            param.Depth = 1;
  • trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm/3.3/IslandGeneticAlgorithm.cs

    r3799 r3816  
    466466      IslandAnalyzer.Operators.Add(islandQualityAnalyzer);
    467467      if (Problem != null) {
    468         foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) {
     468        foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>()) {
    469469          foreach (IScopeTreeLookupParameter param in analyzer.Parameters.OfType<IScopeTreeLookupParameter>())
    470470            param.Depth = 2;
  • trunk/sources/HeuristicLab.Algorithms.LocalSearch/3.3/LocalSearch.cs

    r3809 r3816  
    310310      Analyzer.Operators.Clear();
    311311      if (Problem != null) {
    312         foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) {
     312        foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>()) {
    313313          foreach (IScopeTreeLookupParameter param in analyzer.Parameters.OfType<IScopeTreeLookupParameter>())
    314314            param.Depth = 0;
  • trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/IslandOffspringSelectionGeneticAlgorithm.cs

    r3799 r3816  
    578578      IslandAnalyzer.Operators.Add(islandSelectionPressureAnalyzer);
    579579      if (Problem != null) {
    580         foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) {
     580        foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>()) {
    581581          foreach (IScopeTreeLookupParameter param in analyzer.Parameters.OfType<IScopeTreeLookupParameter>())
    582582            param.Depth = 2;
  • trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/OffspringSelectionGeneticAlgorithm.cs

    r3799 r3816  
    427427      Analyzer.Operators.Clear();
    428428      if (Problem != null) {
    429         foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) {
     429        foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>()) {
    430430          foreach (IScopeTreeLookupParameter param in analyzer.Parameters.OfType<IScopeTreeLookupParameter>())
    431431            param.Depth = 1;
  • trunk/sources/HeuristicLab.Algorithms.OffspringSelectionGeneticAlgorithm/3.3/SASEGASA.cs

    r3799 r3816  
    516516      VillageAnalyzer.Operators.Add(villageSelectionPressureAnalyzer);
    517517      if (Problem != null) {
    518         foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) {
     518        foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>()) {
    519519          foreach (IScopeTreeLookupParameter param in analyzer.Parameters.OfType<IScopeTreeLookupParameter>())
    520520            param.Depth = 2;
  • trunk/sources/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/ParticleSwarmOptimization.cs

    r3799 r3816  
    263263      Analyzer.Operators.Clear();
    264264      if (Problem != null) {
    265         foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name))
     265        foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>())
    266266          Analyzer.Operators.Add(analyzer);
    267267      }
  • trunk/sources/HeuristicLab.Algorithms.SimulatedAnnealing/3.3/SimulatedAnnealing.cs

    r3799 r3816  
    401401      Analyzer.Operators.Clear();
    402402      if (Problem != null) {
    403         foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) {
     403        foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>()) {
    404404          foreach (IScopeTreeLookupParameter param in analyzer.Parameters.OfType<IScopeTreeLookupParameter>())
    405405            param.Depth = 0;
  • trunk/sources/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSearch.cs

    r3809 r3816  
    384384      Analyzer.Operators.Clear();
    385385      if (Problem != null) {
    386         foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>().OrderBy(x => x.Name)) {
     386        foreach (IAnalyzer analyzer in Problem.Operators.OfType<IAnalyzer>()) {
    387387          foreach (IScopeTreeLookupParameter param in analyzer.Parameters.OfType<IScopeTreeLookupParameter>())
    388388            param.Depth = 0;
Note: See TracChangeset for help on using the changeset viewer.