Changeset 18085
- Timestamp:
- 11/19/21 15:35:05 (3 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/HeuristicLab.Optimization-3.3.csproj
r17953 r18085 164 164 <Compile Include="Interfaces\ILocalImprovementAlgorithmOperator.cs" /> 165 165 <Compile Include="Interfaces\IMultiObjectiveOperator.cs" /> 166 <Compile Include="Parameters\AlgorithmLookupParameter.cs" /> 167 <Compile Include="Parameters\MultiObjectiveProblemLookupParameter.cs" /> 168 <Compile Include="Parameters\ProblemLookupParameter.cs" /> 166 169 <Compile Include="Results\IResultsProducingItem.cs" /> 167 170 <Compile Include="MultiObjective\CrowdingCalculator.cs" /> -
branches/2521_ProblemRefactoring/HeuristicLab.Parameters/3.3/ContextLookupParameter.cs
r17257 r18085 7 7 [Item("ContextLookupParameter", "A parameter that looks up contexts by type.")] 8 8 [StorableType("4ac189c8-6cf3-48fd-bf79-392d35a872db")] 9 public class ContextLookupParameter<T> : ContextParameter, IContextLookupParameter<T>9 public abstract class ContextLookupParameter<T> : ContextParameter, IContextLookupParameter<T> 10 10 where T : class, IParameterizedItem { 11 11 … … 17 17 protected ContextLookupParameter(StorableConstructorFlag _) : base(_) { } 18 18 protected ContextLookupParameter(ContextLookupParameter<T> original, Cloner cloner) : base(original, cloner) { } 19 public ContextLookupParameter() : base("ContextLookup." + typeof(T).Name, string.Empty, typeof(T)) { 19 protected ContextLookupParameter() : this("ContextLookup." + typeof(T).Name) { } 20 protected ContextLookupParameter(string name) : this(name, string.Empty) { } 21 protected ContextLookupParameter(string name, string description) : base(name, description, typeof(T)) { 20 22 Hidden = true; 21 }22 23 public override IDeepCloneable Clone(Cloner cloner) {24 return new ContextLookupParameter<T>(this, cloner);25 23 } 26 24
Note: See TracChangeset
for help on using the changeset viewer.