Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/01/09 11:09:50 (16 years ago)
Author:
gkronber
Message:

Applied patch from mkommend for variable impact calculators and adapted data-modeling algorithms to use the new operators for variable impact calculation. #728

Location:
trunk/sources/HeuristicLab.GP.StructureIdentification.Classification/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/sources/HeuristicLab.GP.StructureIdentification.Classification/3.3/OffspringSelectionGP.cs

    r2222 r2319  
    2222using HeuristicLab.Core;
    2323using HeuristicLab.Modeling;
     24using HeuristicLab.Operators;
    2425
    2526namespace HeuristicLab.GP.StructureIdentification.Classification {
     
    2728
    2829    protected override IOperator CreateBestSolutionProcessor() {
    29       IOperator seq = base.CreateBestSolutionProcessor();
     30      IOperator seq = new SequentialProcessor();
     31      seq.AddSubOperator(base.CreateBestSolutionProcessor());
    3032      seq.AddSubOperator(StandardGP.BestSolutionProcessor);
    3133      return seq;
  • TabularUnified trunk/sources/HeuristicLab.GP.StructureIdentification.Classification/3.3/StandardGP.cs

    r2222 r2319  
    2727  public class StandardGP : HeuristicLab.GP.StructureIdentification.StandardGP, IClassificationAlgorithm {
    2828    protected override IOperator CreateBestSolutionProcessor() {
    29       IOperator seq = base.CreateBestSolutionProcessor();
    30       seq.AddSubOperator(BestSolutionProcessor);
    31       return seq;
     29      IOperator bestSolutionProcessor = BestSolutionProcessor;
     30      bestSolutionProcessor.AddSubOperator(base.CreateBestSolutionProcessor());
     31      return bestSolutionProcessor;
    3232    }
    3333
     
    7676  }
    7777}
     78
Note: See TracChangeset for help on using the changeset viewer.