Changeset 4981 for branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Interfaces
- Timestamp:
- 11/28/10 21:42:49 (14 years ago)
- Location:
- branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Interfaces
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Interfaces/IParameterConfiguration.cs
r4839 r4981 2 2 using HeuristicLab.Core; 3 3 using System.Collections.Generic; 4 using HeuristicLab.Data; 5 using HeuristicLab.Common; 4 6 5 7 namespace HeuristicLab.Problems.MetaOptimization { 6 public interface IParameterConfiguration : INamedItem { 7 bool OptimizationEnabled { get; set; } 8 public interface IParameterConfiguration : IOptimizable, INamedItem { 8 9 string ParameterName { get; set; } 9 10 Type ParameterDataType { get; } 10 IChecked ItemList<IValueConfiguration>ValueConfigurations { get; }11 ICheckedValueConfigurationCollection ValueConfigurations { get; } 11 12 IValueConfiguration ActualValueConfiguration { get; set; } 12 Type ValueDataType { get; }13 13 IEnumerable<IItem> ValidValues { get; } 14 15 event EventHandler OptimizationEnabledChanged;16 14 } 17 15 } -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Interfaces/IRange.cs
r4839 r4981 5 5 6 6 namespace HeuristicLab.Problems.MetaOptimization { 7 public interface IRange <T> : IItem where T : class, IItem, IStringConvertibleValue, IDeepCloneable {8 TLowerBound { get; set; }9 TUpperBound { get; set; }10 TStepSize { get; set; }7 public interface IRange : IItem, IStringConvertibleValue { 8 object LowerBound { get; set; } 9 object UpperBound { get; set; } 10 object StepSize { get; set; } 11 11 12 12 event EventHandler LowerBoundChanged; … … 14 14 event EventHandler StepSizeChanged; 15 15 } 16 17 public interface IRange<T> : IRange, IItem where T : class { 18 new T LowerBound { get; set; } 19 new T UpperBound { get; set; } 20 new T StepSize { get; set; } 21 } 16 22 } -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Interfaces/IValueConfiguration.cs
r4839 r4981 1 1 using System; 2 2 using HeuristicLab.Core; 3 using HeuristicLab.Data; 3 4 4 5 namespace HeuristicLab.Problems.MetaOptimization { 5 public interface IValueConfiguration : IItem { 6 IItem Value { get; set; } 7 Type ValueDataType { get; } 8 IItemList<IParameterConfiguration> ParameterConfigurations { get; } 9 6 public interface IValueConfiguration : IOptimizable, IItem { 7 IItemCollection<IParameterConfiguration> ParameterConfigurations { get; } 8 IRange RangeConstraint { get; } 10 9 event EventHandler ValueChanged; 11 10 }
Note: See TracChangeset
for help on using the changeset viewer.