Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/04/09 23:01:52 (16 years ago)
Author:
gkronber
Message:

fixed a few minor glitches in hard-coded GP algos. #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/OffspringSelectionGP.cs

    r1201 r1202  
    5656      set {
    5757        populationSize.Data = value;
    58         parents.Data = value * 2;
    5958      }
    6059    }
     
    130129    public OffspringSelectionGP() {
    131130      PopulationSize = 1000;
     131      parents.Data = 20;
    132132      MaxGenerations = 100;
    133133      MutationRate = 0.15;
     
    135135      SelectionPressureLimit = 300;
    136136      ComparisonFactor = 1.0;
     137      SuccessRatioLimit = 1.0;
    137138      MaxTreeHeight = 10;
    138139      MaxTreeSize = 100;
     
    480481      SequentialProcessor seq = new SequentialProcessor();
    481482      OffspringAnalyzer analyzer = new OffspringAnalyzer();
     483      analyzer.GetVariableInfo("ComparisonFactor").Local = false;
     484      analyzer.RemoveVariable("ComparisonFactor");
    482485      SequentialProcessor selectedProc = new SequentialProcessor();
    483486      OperatorExtractor crossover = new OperatorExtractor();
Note: See TracChangeset for help on using the changeset viewer.