Changeset 12731


Ignore:
Timestamp:
07/11/15 18:41:19 (6 years ago)
Author:
abeham
Message:

#2426:

  • fixed template for multi-encoding
Location:
trunk/sources/HeuristicLab.Problems.Programmable/3.3/Templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.Programmable/3.3/Templates/CompiledMultiObjectiveProblemDefinition.cs

    r12724 r12731  
    77using HeuristicLab.Encodings.BinaryVectorEncoding;
    88using HeuristicLab.Encodings.IntegerVectorEncoding;
     9using HeuristicLab.Encodings.RealVectorEncoding;
    910using HeuristicLab.Encodings.PermutationEncoding;
    10 using HeuristicLab.Encodings.RealVectorEncoding;
     11using HeuristicLab.Encodings.LinearLinkageEncoding;
    1112using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    12 using HeuristicLab.Encodings.LinearLinkageEncoding;
    1313using HeuristicLab.Optimization;
    1414using HeuristicLab.Problems.Programmable;
     
    3333      //.Add(new RealVectorEncoding("r", length: 5, min: -1.0, max: 1.0))
    3434      //.Add(new PermutationEncoding("p", length: 5, type: PermutationTypes.Absolute))
    35       //.Add(Encoding = new LinearLinkageEncoding("l", length: 5))
    36       //.Add(Encoding = new SymbolicExpressionTreeEncoding("s", new SimpleSymbolicExpressionGrammar(), 50, 12))
     35      //.Add(new LinearLinkageEncoding("l", length: 5))
     36      //.Add(new SymbolicExpressionTreeEncoding("s", new SimpleSymbolicExpressionGrammar(), 50, 12))
    3737      ;
    3838      // Add additional initialization code e.g. private variables that you need for evaluating
  • trunk/sources/HeuristicLab.Problems.Programmable/3.3/Templates/CompiledSingleObjectiveProblemDefinition.cs

    r12724 r12731  
    77using HeuristicLab.Encodings.BinaryVectorEncoding;
    88using HeuristicLab.Encodings.IntegerVectorEncoding;
     9using HeuristicLab.Encodings.RealVectorEncoding;
    910using HeuristicLab.Encodings.PermutationEncoding;
    10 using HeuristicLab.Encodings.RealVectorEncoding;
     11using HeuristicLab.Encodings.LinearLinkageEncoding;
    1112using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    12 using HeuristicLab.Encodings.LinearLinkageEncoding;
    1313using HeuristicLab.Optimization;
    1414using HeuristicLab.Problems.Programmable;
     
    3333      //.Add(new RealVectorEncoding("r", length: 5, min: -1.0, max: 1.0))
    3434      //.Add(new PermutationEncoding("p", length: 5, type: PermutationTypes.Absolute))
    35       //.Add(Encoding = new LinearLinkageEncoding("l", length: 5))
    36       //.Add(Encoding = new SymbolicExpressionTreeEncoding("s", new SimpleSymbolicExpressionGrammar(), 50, 12))
     35      //.Add(new LinearLinkageEncoding("l", length: 5))
     36      //.Add(new SymbolicExpressionTreeEncoding("s", new SimpleSymbolicExpressionGrammar(), 50, 12))
    3737      ;
    3838      // Add additional initialization code e.g. private variables that you need for evaluating
Note: See TracChangeset for help on using the changeset viewer.