Changeset 11961 for trunk/sources/HeuristicLab.Optimization/3.3/Problems
- Timestamp:
- 02/06/15 17:52:14 (10 years ago)
- Location:
- trunk/sources/HeuristicLab.Optimization
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization
- Property svn:mergeinfo changed
/branches/ProgrammableProblem/HeuristicLab.Optimization (added) merged: 11573-11574,11595,11645,11753,11812-11813,11892,11946,11949,11952
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Optimization/3.3/Problems/HeuristicOptimizationProblem.cs
r11171 r11961 78 78 79 79 public U SolutionCreator { 80 get { return SolutionCreatorParameter.Value; }80 get { return (U)SolutionCreatorParameter.Value; } 81 81 protected set { SolutionCreatorParameter.Value = value; } 82 82 } 83 public ValueParameter<U>SolutionCreatorParameter {84 get { return ( ValueParameter<U>)Parameters[SolutionCreateParameterName]; }83 public IValueParameter SolutionCreatorParameter { 84 get { return (IValueParameter)Parameters[SolutionCreateParameterName]; } 85 85 } 86 86 ISolutionCreator IHeuristicOptimizationProblem.SolutionCreator { get { return SolutionCreator; } } -
trunk/sources/HeuristicLab.Optimization/3.3/Problems/Problem.cs
r11171 r11961 114 114 } 115 115 } 116 IEnumerable<IItem> IProblem.Operators { get { return Operators; } } 116 IEnumerable<IItem> IProblem.Operators { get { return GetOperators(); } } 117 118 protected virtual IEnumerable<IItem> GetOperators() { 119 return Operators; 120 } 121 122 public virtual IEnumerable<IParameterizedItem> ExecutionContextItems { 123 get { yield return this; } 124 } 117 125 #endregion 118 126 -
trunk/sources/HeuristicLab.Optimization/3.3/Problems/UserDefinedProblem.cs
r11171 r11961 115 115 get { return OperatorsParameter.Value; } 116 116 } 117 118 public IEnumerable<IParameterizedItem> ExecutionContextItems { 119 get { yield return this; } 120 } 117 121 #endregion 118 122
Note: See TracChangeset
for help on using the changeset viewer.