Changeset 11786 for branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/Scripts/Templates/CompiledMultiObjectiveProblemDefinition.cs
- Timestamp:
- 01/16/15 11:14:50 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/New/Scripts/Templates/CompiledMultiObjectiveProblemDefinition.cs
r11767 r11786 31 31 var qualities = new[] { 0.0, 0.0 }; 32 32 // use vars.yourVariable to access variables in the variable store i.e. yourVariable 33 // qualities = new [] { individual.RealVector(" "r"").Sum(x => x * x), individual.RealVector(""r"").Sum(x => x * x * x) };33 // qualities = new [] { individual.RealVector("r").Sum(x => x * x), individual.RealVector("r").Sum(x => x * x * x) }; 34 34 return qualities; 35 35 }
Note: See TracChangeset
for help on using the changeset viewer.