- Timestamp:
- 07/11/15 11:37:45 (9 years ago)
- 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 9 9 using HeuristicLab.Encodings.PermutationEncoding; 10 10 using HeuristicLab.Encodings.RealVectorEncoding; 11 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 12 using HeuristicLab.Encodings.LinearLinkageEncoding; 11 13 using HeuristicLab.Optimization; 12 14 using HeuristicLab.Problems.Programmable; … … 23 25 //Encoding = new RealVectorEncoding("r", length: 5, min: -1.0, max: 1.0); 24 26 //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); 25 29 // The encoding can also be a combination 26 30 //Encoding = new MultiEncoding() … … 29 33 //.Add(new RealVectorEncoding("r", length: 5, min: -1.0, max: 1.0)) 30 34 //.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)) 31 37 ; 32 38 // 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 9 9 using HeuristicLab.Encodings.PermutationEncoding; 10 10 using HeuristicLab.Encodings.RealVectorEncoding; 11 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 12 using HeuristicLab.Encodings.LinearLinkageEncoding; 11 13 using HeuristicLab.Optimization; 12 14 using HeuristicLab.Problems.Programmable; … … 23 25 //Encoding = new RealVectorEncoding("r", length: 5, min: -1.0, max: 1.0); 24 26 //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); 25 29 // The encoding can also be a combination 26 30 //Encoding = new MultiEncoding() … … 29 33 //.Add(new RealVectorEncoding("r", length: 5, min: -1.0, max: 1.0)) 30 34 //.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)) 31 37 ; 32 38 // Add additional initialization code e.g. private variables that you need for evaluating
Note: See TracChangeset
for help on using the changeset viewer.