- Timestamp:
- 06/22/12 11:15:13 (13 years ago)
- Location:
- branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/ParameterConfigurations/ParameterConfiguration.cs
r7153 r8087 210 210 } 211 211 } 212 p ublicParameterConfiguration() { }212 protected ParameterConfiguration() { } 213 213 [StorableConstructor] 214 214 protected ParameterConfiguration(bool deserializing) { } -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/ParameterConfigurations/SingleValuedParameterConfiguration.cs
r6197 r8087 8 8 [StorableClass] 9 9 public class SingleValuedParameterConfiguration : ParameterConfiguration { 10 10 11 11 #region Constructors and Cloning 12 12 [StorableConstructor] … … 18 18 this.ValueConfigurations.Single().Optimize = true; 19 19 } 20 public SingleValuedParameterConfiguration(string parameterName, IValueConfiguration valueConfiguration) { 20 public SingleValuedParameterConfiguration(string parameterName, IValueConfiguration valueConfiguration) 21 : base() { 21 22 this.ParameterName = parameterName; 22 23 this.parameterDataType = valueConfiguration.ActualValue.ValueDataType; … … 36 37 this.IsNullable); 37 38 } 38 public SingleValuedParameterConfiguration() { }39 39 protected SingleValuedParameterConfiguration(SingleValuedParameterConfiguration original, Cloner cloner) 40 40 : base(original, cloner) { -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/RangeConstraints/DoubleValueRange.cs
r6090 r8087 18 18 } 19 19 } 20 20 21 21 public DoubleValueRange(DoubleValue lowerBound, DoubleValue upperBound, DoubleValue stepSize) : base(lowerBound, upperBound, stepSize) { } 22 public DoubleValueRange() { }23 22 [StorableConstructor] 24 23 protected DoubleValueRange(bool deserializing) : base(deserializing) { } … … 59 58 double range = UpperBound.Value - LowerBound.Value; 60 59 double diff = Math.Abs(a.Value - b.Value); 61 return Math.Max(0, (range - (diff *2)) / range);60 return Math.Max(0, (range - (diff * 2)) / range); 62 61 } 63 62 } -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/RangeConstraints/IntValueRange.cs
r5522 r8087 1 1 using System; 2 2 using System.Collections.Generic; 3 using System.Linq;4 using System.Text;3 using HeuristicLab.Common; 4 using HeuristicLab.Core; 5 5 using HeuristicLab.Data; 6 using HeuristicLab.Common;7 6 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 8 using HeuristicLab.Core;9 7 10 8 namespace HeuristicLab.Problems.MetaOptimization { … … 13 11 14 12 public IntValueRange(IntValue lowerBound, IntValue upperBound, IntValue stepSize) : base(lowerBound, upperBound, stepSize) { } 15 public IntValueRange() { }16 13 [StorableConstructor] 17 14 protected IntValueRange(bool deserializing) : base(deserializing) { } -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/RangeConstraints/PercentValueRange.cs
r5522 r8087 1 1 using System; 2 2 using System.Collections.Generic; 3 using System.Linq;4 using System.Text;3 using HeuristicLab.Common; 4 using HeuristicLab.Core; 5 5 using HeuristicLab.Data; 6 using HeuristicLab.Common;7 6 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 8 using HeuristicLab.Core;9 7 10 8 namespace HeuristicLab.Problems.MetaOptimization { … … 13 11 14 12 public PercentValueRange(PercentValue lowerBound, PercentValue upperBound, PercentValue stepSize) : base(lowerBound, upperBound, stepSize) { } 15 public PercentValueRange() { }16 13 [StorableConstructor] 17 14 protected PercentValueRange(bool deserializing) : base(deserializing) { } -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/RangeConstraints/Range.cs
r6090 r8087 86 86 } 87 87 88 public Range() { }89 88 [StorableConstructor] 90 89 protected Range(bool deserializing) : base(deserializing) { } 91 protected Range(Range<T> original, Cloner cloner) : base(original, cloner) { 90 protected Range(Range<T> original, Cloner cloner) 91 : base(original, cloner) { 92 92 this.LowerBound = cloner.Clone(original.LowerBound); 93 93 this.UpperBound = cloner.Clone(original.UpperBound); -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encoding/SymbolicExpressionGrammar/SymbolValueConfiguration.cs
r6197 r8087 22 22 [StorableConstructor] 23 23 protected SymbolValueConfiguration(bool deserializing) : base(deserializing) { } 24 public SymbolValueConfiguration() : base() { }25 24 public SymbolValueConfiguration(Symbol symbol) 26 25 : base() { -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Plugin.cs.frame
r7153 r8087 35 35 [PluginDependency("HeuristicLab.Core", "3.3")] 36 36 [PluginDependency("HeuristicLab.Data", "3.3")] 37 [PluginDependency("HeuristicLab.Encodings.BinaryVectorEncoding", "3.3")]38 37 [PluginDependency("HeuristicLab.Encodings.IntegerVectorEncoding", "3.3")] 39 38 [PluginDependency("HeuristicLab.Encodings.RealVectorEncoding", "3.3")] … … 45 44 [PluginDependency("HeuristicLab.Problems.DataAnalysis", "3.4")] 46 45 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic", "3.4")] 47 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic.Regression", "3.4")]48 46 [PluginDependency("HeuristicLab.Problems.TestFunctions", "3.3")] 49 47 [PluginDependency("HeuristicLab.Random", "3.3")] 50 [PluginDependency("HeuristicLab.Selection", "3.3")]51 48 [PluginDependency("HeuristicLab.SequentialEngine", "3.3")] 52 49 public class HeuristicLabProblemsMetaOptimizationPlugin : PluginBase { -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/TypeValue.cs
r7242 r8087 59 59 60 60 public override string ToString() { 61 if (value == null) return "No Type information"; 61 62 return value.Name; 62 63 }
Note: See TracChangeset
for help on using the changeset viewer.