Changeset 11900 for branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/Scripts/Templates
- Timestamp:
- 02/05/15 10:19:37 (10 years ago)
- Location:
- branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/Scripts/Templates
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/Scripts/Templates/CompiledMultiObjectiveProblemDefinition.cs
r11880 r11900 16 16 // Use vars.yourVariable to access variables in the variable store i.e. yourVariable 17 17 // Define the solution encoding which can also consist of multiple vectors, examples below 18 //Encoding = new Binary Encoding("b", length: 5);19 //Encoding = new Integer Encoding("i", length: 5, min: 2, max: 14, step: 4);20 //Encoding = new Real Encoding("r", length: 5, min: -1.0, max: 1.0);18 //Encoding = new BinaryVectorEncoding("b", length: 5); 19 //Encoding = new IntegerVectorEncoding("i", length: 5, min: 2, max: 14, step: 4); 20 //Encoding = new RealVectorEncoding("r", length: 5, min: -1.0, max: 1.0); 21 21 //Encoding = new PermutationEncoding("p", length: 5, type: PermutationTypes.Absolute); 22 22 // The encoding can also be a combination 23 23 //Encoding = new MultiEncoding() 24 //.Add(new Binary Encoding("b", length: 5))25 //.Add(new Integer Encoding("i", length: 5, min: 2, max: 14, step: 4))26 //.Add(new Real Encoding("r", length: 5, min: -1.0, max: 1.0))24 //.Add(new BinaryVectorEncoding("b", length: 5)) 25 //.Add(new IntegerVectorEncoding("i", length: 5, min: 2, max: 14, step: 4)) 26 //.Add(new RealVectorEncoding("r", length: 5, min: -1.0, max: 1.0)) 27 27 //.Add(new PermutationEncoding("p", length: 5, type: PermutationTypes.Absolute)) 28 28 ; -
branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/Scripts/Templates/CompiledSingleObjectiveProblemDefinition.cs
r11880 r11900 16 16 // Use vars.yourVariable to access variables in the variable store i.e. yourVariable 17 17 // Define the solution encoding which can also consist of multiple vectors, examples below 18 //Encoding = new Binary Encoding("b", length: 5);19 //Encoding = new Integer Encoding("i", length: 5, min: 2, max: 14, step: 2);20 //Encoding = new Real Encoding("r", length: 5, min: -1.0, max: 1.0);18 //Encoding = new BinaryVectorEncoding("b", length: 5); 19 //Encoding = new IntegerVectorEncoding("i", length: 5, min: 2, max: 14, step: 2); 20 //Encoding = new RealVectorEncoding("r", length: 5, min: -1.0, max: 1.0); 21 21 //Encoding = new PermutationEncoding("p", length: 5, type: PermutationTypes.Absolute); 22 22 // The encoding can also be a combination 23 23 //Encoding = new MultiEncoding() 24 //.Add(new Binary Encoding("b", length: 5))25 //.Add(new Integer Encoding("i", length: 5, min: 2, max: 14, step: 4))26 //.Add(new Real Encoding("r", length: 5, min: -1.0, max: 1.0))24 //.Add(new BinaryVectorEncoding("b", length: 5)) 25 //.Add(new IntegerVectorEncoding("i", length: 5, min: 2, max: 14, step: 4)) 26 //.Add(new RealVectorEncoding("r", length: 5, min: -1.0, max: 1.0)) 27 27 //.Add(new PermutationEncoding("p", length: 5, type: PermutationTypes.Absolute)) 28 28 ;
Note: See TracChangeset
for help on using the changeset viewer.