- Timestamp:
- 09/26/19 10:02:47 (5 years ago)
- Location:
- branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/ArtificialAnt/Problem.cs
r17226 r17270 98 98 #endregion 99 99 100 public override bool Maximization {101 get { return true; }102 }103 104 100 #region item cloning and persistence 105 101 // persistence … … 117 113 118 114 public Problem() : base(new SymbolicExpressionTreeEncoding()) { 115 Maximization = true; 119 116 BoolMatrix world = new BoolMatrix(ToBoolMatrix(santaFeAntTrail)); 120 117 Parameters.Add(new ValueParameter<BoolMatrix>("World", "The world for the artificial ant with scattered food items.", world)); -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/BasicSymbolicRegression/Problem.cs
r17226 r17270 60 60 public event EventHandler ProblemDataChanged; 61 61 62 public override bool Maximization {63 get { return true; }64 }65 66 62 #region item cloning and persistence 67 63 // persistence … … 82 78 83 79 public Problem() : base(new SymbolicExpressionTreeEncoding()) { 80 Maximization = true; 84 81 Parameters.Add(new ValueParameter<IRegressionProblemData>(ProblemDataParameterName, "The data for the regression problem", new RegressionProblemData())); 85 82 -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/Boolean/EvenParityProblem.cs
r17226 r17270 54 54 #endregion 55 55 56 public override bool Maximization {57 get { return true; }58 }59 60 56 #region item cloning and persistence 61 57 // persistence … … 79 75 public EvenParityProblem() 80 76 : base(new SymbolicExpressionTreeEncoding()) { 77 Maximization = true; 81 78 Parameters.Add(new FixedValueParameter<IntValue>(NumberOfBitsParameterName, "The number of bits for the input parameter for the even parity function", new IntValue(4))); 82 79 -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/Boolean/MultiplexerProblem.cs
r17226 r17270 56 56 #endregion 57 57 58 public override bool Maximization {59 get { return true; }60 }61 62 58 #region item cloning and persistence 63 59 // persistence … … 82 78 public MultiplexerProblem() 83 79 : base(new SymbolicExpressionTreeEncoding()) { 80 Maximization = true; 84 81 Parameters.Add(new FixedValueParameter<IntValue>(NumberOfBitsParameterName, 85 82 "The number of bits for the input parameter for the multiplexer function. This is the sum of the number of address bits and the number of input lines. E.g. the 11-MUX has 3 address bits and 8 input lines", -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/LawnMower/Problem.cs
r17226 r17270 46 46 } 47 47 48 public override bool Maximization {49 get { return true; }50 }51 52 48 #region item cloning and persistence 53 49 [StorableConstructor] … … 63 59 64 60 public Problem() : base(new SymbolicExpressionTreeEncoding()) { 61 Maximization = true; 65 62 Parameters.Add(new FixedValueParameter<IntValue>(LawnWidthParameterName, "Width of the lawn.", new IntValue(8))); 66 63 Parameters.Add(new FixedValueParameter<IntValue>(LawnLengthParameterName, "Length of the lawn.", new IntValue(8))); -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.GeneticProgramming/3.3/robocode/Problem.cs
r17226 r17270 74 74 75 75 public Problem() : base(new SymbolicExpressionTreeEncoding(new Grammar(), maximumLength: 1000, maximumDepth: 10)) { 76 Maximization = true; 76 77 DirectoryValue robocodeDir = new DirectoryValue { Value = @"robocode" }; 77 78 … … 124 125 } 125 126 126 public override bool Maximization {127 get { return true; }128 }129 130 127 private void RegisterEventHandlers() { 131 128 RobocodePathParameter.Value.StringValue.ValueChanged += RobocodePathParameter_ValueChanged;
Note: See TracChangeset
for help on using the changeset viewer.