Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/05/09 10:51:26 (16 years ago)
Author:
gkronber
Message:

Improved !StandardGP and !OffspringSelectionGP variants for classification and time-series. #224 (Simple frontend for GP for non-expert users (similar to HeurisicLab.SGA))

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/CEDMA-Refactoring-Ticket419/HeuristicLab.GP.StructureIdentification/AlgorithmBase.cs

    r1245 r1251  
    116116      algo.Name = "GP";
    117117      SequentialProcessor seq = new SequentialProcessor();
    118       EmptyOperator problemInjectorPlaceholder = new EmptyOperator();
     118      IOperator problemInjector = CreateProblemInjector();
    119119
    120120      RandomInjector randomInjector = new RandomInjector();
     
    143143      LeftReducer cleanUp = new LeftReducer();
    144144
    145       seq.AddSubOperator(problemInjectorPlaceholder);
     145      seq.AddSubOperator(problemInjector);
    146146      seq.AddSubOperator(randomInjector);
    147147      seq.AddSubOperator(globalInjector);
     
    162162      this.algorithm = seq;
    163163      return algo;
     164    }
     165
     166    protected internal virtual IOperator CreateProblemInjector() {
     167      return new EmptyOperator();
    164168    }
    165169
Note: See TracChangeset for help on using the changeset viewer.