Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/11/15 11:37:45 (9 years ago)
Author:
ascheibe
Message:

#2426 updated templates for programmable problem

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

    r11949 r12724  
    99using HeuristicLab.Encodings.PermutationEncoding;
    1010using HeuristicLab.Encodings.RealVectorEncoding;
     11using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
     12using HeuristicLab.Encodings.LinearLinkageEncoding;
    1113using HeuristicLab.Optimization;
    1214using HeuristicLab.Problems.Programmable;
     
    2325      //Encoding = new RealVectorEncoding("r", length: 5, min: -1.0, max: 1.0);
    2426      //Encoding = new PermutationEncoding("p", length: 5, type: PermutationTypes.Absolute);
     27      //Encoding = new LinearLinkageEncoding("l", length: 5);
     28      //Encoding = new SymbolicExpressionTreeEncoding("s", new SimpleSymbolicExpressionGrammar(), 50, 12);
    2529      // The encoding can also be a combination
    2630      //Encoding = new MultiEncoding()
     
    2933      //.Add(new RealVectorEncoding("r", length: 5, min: -1.0, max: 1.0))
    3034      //.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))
    3137      ;
    3238      // Add additional initialization code e.g. private variables that you need for evaluating
  • trunk/sources/HeuristicLab.Problems.Programmable/3.3/Templates/CompiledSingleObjectiveProblemDefinition.cs

    r12001 r12724  
    99using HeuristicLab.Encodings.PermutationEncoding;
    1010using HeuristicLab.Encodings.RealVectorEncoding;
     11using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
     12using HeuristicLab.Encodings.LinearLinkageEncoding;
    1113using HeuristicLab.Optimization;
    1214using HeuristicLab.Problems.Programmable;
     
    2325      //Encoding = new RealVectorEncoding("r", length: 5, min: -1.0, max: 1.0);
    2426      //Encoding = new PermutationEncoding("p", length: 5, type: PermutationTypes.Absolute);
     27      //Encoding = new LinearLinkageEncoding("l", length: 5);
     28      //Encoding = new SymbolicExpressionTreeEncoding("s", new SimpleSymbolicExpressionGrammar(), 50, 12);
    2529      // The encoding can also be a combination
    2630      //Encoding = new MultiEncoding()
     
    2933      //.Add(new RealVectorEncoding("r", length: 5, min: -1.0, max: 1.0))
    3034      //.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))
    3137      ;
    3238      // Add additional initialization code e.g. private variables that you need for evaluating
Note: See TracChangeset for help on using the changeset viewer.