Changeset 11397 for branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/SingleObjectiveProblemDefinition.cs
- Timestamp:
- 09/28/14 09:18:30 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ProgrammableProblem/HeuristicLab.Problems.Programmable/3.3/SingleObjectiveProblemDefinition.cs
r11393 r11397 30 30 [Item("Single-objective Problem Definition", "This definition can be dynamically created through code and assigned to the problem.")] 31 31 public class SingleObjectiveProblemDefinition : ISingleObjectiveProblemDefinitionHost, ISingleObjectiveProblemDefinition { 32 33 32 private bool isMaximizationProblem; 34 33 public bool IsMaximizationProblem { … … 114 113 115 114 #region Problem definition explicit interface implementations 115 dynamic IProblemDefinition.vars { get; set; } 116 117 void IProblemDefinition.Initialize() { 118 119 } 120 121 Configuration IProblemDefinition.GetConfiguration() { 122 return Configuration(); 123 } 124 116 125 bool ISingleObjectiveProblemDefinition.IsMaximizationProblem { 117 126 get { return IsMaximizationProblem; } … … 128 137 IEnumerable<ParameterVector> ISingleObjectiveProblemDefinition.GetNeighbors(IRandom random, ParameterVector vector) { 129 138 return Neighbors(random, vector); 130 }131 132 Configuration IProblemDefinition.GetConfiguration() {133 return Configuration();134 139 } 135 140 #endregion
Note: See TracChangeset
for help on using the changeset viewer.