Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/06/14 20:41:57 (10 years ago)
Author:
sawinkle
Message:

#2109:

  • Implemented PIGEMapper. Due to that, it was necessary to modify the Map method interface to additionally take the bounds and length of the genotype.
  • Corrected and simplified the different mappers. Simplified the SampleArity method of /Mappers/GenotypeToPhenotypeMapper.cs
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/GrammaticalEvolution/HeuristicLab.Problems.GrammaticalEvolution/Mappers/RandomMapper.cs

    r10280 r10290  
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
     24using HeuristicLab.Data;
    2425using HeuristicLab.Encodings.IntegerVectorEncoding;
    2526using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
     
    5253    /// <param name="genotype">integer vector, which should be mapped to a tree</param>
    5354    /// <returns>phenotype (a symbolic expression tree)</returns>
    54     public override SymbolicExpressionTree Map(IRandom random,
     55    public override SymbolicExpressionTree Map(IRandom random, IntMatrix bounds, int length,
    5556                                               ISymbolicExpressionGrammar grammar,
    5657                                               IntegerVector genotype) {
Note: See TracChangeset for help on using the changeset viewer.