Changeset 4839
- Timestamp:
- 11/18/10 17:18:51 (14 years ago)
- Location:
- branches/HeuristicLab.MetaOptimization
- Files:
-
- 24 added
- 15 deleted
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization
- Property svn:ignore
-
old new 1 1 HeuristicLab.MetaOptimization.suo 2 HeuristicLab.MetaOptimization.Test
-
- Property svn:ignore
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.MetaOptimization.sln
r4516 r4839 8 8 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Problems.MetaOptimization.Views-3.3", "HeuristicLab.Problems.MetaOptimization.Views\3.3\HeuristicLab.Problems.MetaOptimization.Views-3.3.csproj", "{59567338-A551-4386-8405-A8C0DF3E376D}" 9 9 EndProject 10 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.MetaOptimization.Test", "HeuristicLab.MetaOptimization.Test\HeuristicLab.MetaOptimization.Test.csproj", "{0E232F46-FD0B-4FEA-8C22-AF18DE0D151E}" 11 EndProject 10 12 Global 11 13 GlobalSection(SolutionConfigurationPlatforms) = preSolution 12 14 Debug|Any CPU = Debug|Any CPU 15 Debug|Mixed Platforms = Debug|Mixed Platforms 16 Debug|x86 = Debug|x86 13 17 Release|Any CPU = Release|Any CPU 18 Release|Mixed Platforms = Release|Mixed Platforms 19 Release|x86 = Release|x86 14 20 EndGlobalSection 15 21 GlobalSection(ProjectConfigurationPlatforms) = postSolution 16 22 {ABBC1DF6-FCC6-4F86-AB75-B6B3A72E7D17}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 17 23 {ABBC1DF6-FCC6-4F86-AB75-B6B3A72E7D17}.Debug|Any CPU.Build.0 = Debug|Any CPU 24 {ABBC1DF6-FCC6-4F86-AB75-B6B3A72E7D17}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU 25 {ABBC1DF6-FCC6-4F86-AB75-B6B3A72E7D17}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU 26 {ABBC1DF6-FCC6-4F86-AB75-B6B3A72E7D17}.Debug|x86.ActiveCfg = Debug|Any CPU 18 27 {ABBC1DF6-FCC6-4F86-AB75-B6B3A72E7D17}.Release|Any CPU.ActiveCfg = Release|Any CPU 19 28 {ABBC1DF6-FCC6-4F86-AB75-B6B3A72E7D17}.Release|Any CPU.Build.0 = Release|Any CPU 29 {ABBC1DF6-FCC6-4F86-AB75-B6B3A72E7D17}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU 30 {ABBC1DF6-FCC6-4F86-AB75-B6B3A72E7D17}.Release|Mixed Platforms.Build.0 = Release|Any CPU 31 {ABBC1DF6-FCC6-4F86-AB75-B6B3A72E7D17}.Release|x86.ActiveCfg = Release|Any CPU 20 32 {59567338-A551-4386-8405-A8C0DF3E376D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 21 33 {59567338-A551-4386-8405-A8C0DF3E376D}.Debug|Any CPU.Build.0 = Debug|Any CPU 34 {59567338-A551-4386-8405-A8C0DF3E376D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU 35 {59567338-A551-4386-8405-A8C0DF3E376D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU 36 {59567338-A551-4386-8405-A8C0DF3E376D}.Debug|x86.ActiveCfg = Debug|Any CPU 22 37 {59567338-A551-4386-8405-A8C0DF3E376D}.Release|Any CPU.ActiveCfg = Release|Any CPU 23 38 {59567338-A551-4386-8405-A8C0DF3E376D}.Release|Any CPU.Build.0 = Release|Any CPU 39 {59567338-A551-4386-8405-A8C0DF3E376D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU 40 {59567338-A551-4386-8405-A8C0DF3E376D}.Release|x86.ActiveCfg = Release|Any CPU 41 {0E232F46-FD0B-4FEA-8C22-AF18DE0D151E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 42 {0E232F46-FD0B-4FEA-8C22-AF18DE0D151E}.Debug|Any CPU.Build.0 = Debug|Any CPU 43 {0E232F46-FD0B-4FEA-8C22-AF18DE0D151E}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 44 {0E232F46-FD0B-4FEA-8C22-AF18DE0D151E}.Debug|Mixed Platforms.Build.0 = Debug|x86 45 {0E232F46-FD0B-4FEA-8C22-AF18DE0D151E}.Debug|x86.ActiveCfg = Debug|x86 46 {0E232F46-FD0B-4FEA-8C22-AF18DE0D151E}.Debug|x86.Build.0 = Debug|x86 47 {0E232F46-FD0B-4FEA-8C22-AF18DE0D151E}.Release|Any CPU.ActiveCfg = Release|x86 48 {0E232F46-FD0B-4FEA-8C22-AF18DE0D151E}.Release|Mixed Platforms.ActiveCfg = Release|x86 49 {0E232F46-FD0B-4FEA-8C22-AF18DE0D151E}.Release|Mixed Platforms.Build.0 = Release|x86 50 {0E232F46-FD0B-4FEA-8C22-AF18DE0D151E}.Release|x86.ActiveCfg = Release|x86 51 {0E232F46-FD0B-4FEA-8C22-AF18DE0D151E}.Release|x86.Build.0 = Release|x86 24 52 EndGlobalSection 25 53 GlobalSection(SolutionProperties) = preSolution -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization.Views/3.3
- Property svn:ignore
-
old new 1 1 bin 2 2 obj 3 HeuristicLab.Problems.MetaOptimization.Views-3.3.csproj.user
-
- Property svn:ignore
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization.Views/3.3/HeuristicLab.Problems.MetaOptimization.Views-3.3.csproj
r4830 r4839 54 54 <HintPath>..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Core.Views-3.3.dll</HintPath> 55 55 </Reference> 56 <Reference Include="HeuristicLab.Data-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 56 <Reference Include="HeuristicLab.Data-3.3"> 57 <HintPath>..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Data-3.3.dll</HintPath> 58 </Reference> 57 59 <Reference Include="HeuristicLab.Data.Views-3.3"> 58 60 <HintPath>..\..\..\..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Data.Views-3.3.dll</HintPath> … … 83 85 </ItemGroup> 84 86 <ItemGroup> 85 <Compile Include=" RootParameterConfigurationView.cs">87 <Compile Include="ValueConfigurationViews\ValueConfigurationCheckedItemList.cs"> 86 88 <SubType>UserControl</SubType> 87 89 </Compile> 88 <Compile Include=" RootParameterConfigurationView.Designer.cs">89 <DependentUpon> RootParameterConfigurationView.cs</DependentUpon>90 <Compile Include="ValueConfigurationViews\ValueConfigurationCheckedItemList.Designer.cs"> 91 <DependentUpon>ValueConfigurationCheckedItemList.cs</DependentUpon> 90 92 </Compile> 91 <Compile Include=" NumericRangeView.cs">93 <Compile Include="ValueConfigurationViews\NumericRangeView.cs"> 92 94 <SubType>UserControl</SubType> 93 95 </Compile> 94 <Compile Include=" NumericRangeView.Designer.cs">96 <Compile Include="ValueConfigurationViews\NumericRangeView.Designer.cs"> 95 97 <DependentUpon>NumericRangeView.cs</DependentUpon> 96 98 </Compile> … … 101 103 <DependentUpon>ObjectSelectorDialog.cs</DependentUpon> 102 104 </Compile> 103 <Compile Include="ParameterConfiguration ListView.cs">105 <Compile Include="ParameterConfigurationViews\ParameterConfigurationListView.cs"> 104 106 <SubType>UserControl</SubType> 105 107 </Compile> 106 <Compile Include="ParameterConfiguration ListView.Designer.cs">108 <Compile Include="ParameterConfigurationViews\ParameterConfigurationListView.Designer.cs"> 107 109 <DependentUpon>ParameterConfigurationListView.cs</DependentUpon> 108 110 </Compile> 109 111 <Compile Include="HeuristicLabProblemsMetaOptimizationViewsPlugin.cs" /> 110 <Compile Include="ParameterConfigurationView .cs">112 <Compile Include="ParameterConfigurationViews\ParameterConfigurationView.cs"> 111 113 <SubType>UserControl</SubType> 112 114 </Compile> 113 <Compile Include="ParameterConfigurationView .Designer.cs">115 <Compile Include="ParameterConfigurationViews\ParameterConfigurationView.Designer.cs"> 114 116 <DependentUpon>ParameterConfigurationView.cs</DependentUpon> 115 117 </Compile> 116 118 <Compile Include="Properties\AssemblyInfo.cs" /> 117 <Compile Include="Value View.cs">119 <Compile Include="ValueConfigurationViews\ValueConfigurationView.cs"> 118 120 <SubType>UserControl</SubType> 119 121 </Compile> 120 <Compile Include="ValueView.Designer.cs"> 122 <Compile Include="ValueConfigurationViews\ValueConfigurationView.Designer.cs"> 123 <DependentUpon>ValueConfigurationView.cs</DependentUpon> 124 </Compile> 125 <Compile Include="ValueConfigurationViews\ValueView.cs"> 126 <SubType>UserControl</SubType> 127 </Compile> 128 <Compile Include="ValueConfigurationViews\ValueView.Designer.cs"> 121 129 <DependentUpon>ValueView.cs</DependentUpon> 122 130 </Compile> … … 133 141 </ItemGroup> 134 142 <ItemGroup> 135 <EmbeddedResource Include="RootParameterConfigurationView.resx"> 136 <DependentUpon>RootParameterConfigurationView.cs</DependentUpon> 137 </EmbeddedResource> 138 <EmbeddedResource Include="NumericRangeView.resx"> 143 <EmbeddedResource Include="ValueConfigurationViews\NumericRangeView.resx"> 139 144 <DependentUpon>NumericRangeView.cs</DependentUpon> 140 145 </EmbeddedResource> … … 142 147 <DependentUpon>ObjectSelectorDialog.cs</DependentUpon> 143 148 </EmbeddedResource> 144 <EmbeddedResource Include="ParameterConfiguration ListView.resx">149 <EmbeddedResource Include="ParameterConfigurationViews\ParameterConfigurationListView.resx"> 145 150 <DependentUpon>ParameterConfigurationListView.cs</DependentUpon> 146 151 </EmbeddedResource> 147 <EmbeddedResource Include="ParameterConfigurationView .resx">152 <EmbeddedResource Include="ParameterConfigurationViews\ParameterConfigurationView.resx"> 148 153 <DependentUpon>ParameterConfigurationView.cs</DependentUpon> 149 154 </EmbeddedResource> 150 <EmbeddedResource Include="ValueView.resx"> 155 <EmbeddedResource Include="ValueConfigurationViews\ValueConfigurationView.resx"> 156 <DependentUpon>ValueConfigurationView.cs</DependentUpon> 157 </EmbeddedResource> 158 <EmbeddedResource Include="ValueConfigurationViews\ValueView.resx"> 151 159 <DependentUpon>ValueView.cs</DependentUpon> 152 160 </EmbeddedResource> -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Analyzers/BestParameterConfigurationAnalyzer.cs
r4832 r4839 1 using System ;2 using System.Collections.Generic;3 using System.Linq;4 using System.Text;1 using System.Linq; 2 using HeuristicLab.Common; 3 using HeuristicLab.Core; 4 using HeuristicLab.Data; 5 5 using HeuristicLab.Operators; 6 6 using HeuristicLab.Optimization; 7 using HeuristicLab.Parameters; 7 8 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 8 using HeuristicLab.Core;9 using HeuristicLab.Parameters;10 using HeuristicLab.Data;11 using HeuristicLab.Common;12 9 13 10 namespace HeuristicLab.Problems.MetaOptimization { -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Creators/RandomParameterConfigurationCreator.cs
r4830 r4839 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 1 using HeuristicLab.Common; 5 2 using HeuristicLab.Core; 3 using HeuristicLab.Operators; 4 using HeuristicLab.Optimization; 5 using HeuristicLab.Parameters; 6 6 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 7 using HeuristicLab.Operators;8 using HeuristicLab.Parameters;9 using HeuristicLab.Common;10 using HeuristicLab.Optimization;11 7 12 8 namespace HeuristicLab.Problems.MetaOptimization { -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encodings/Crossovers/ParameterConfigurationCrossover.cs
r4832 r4839 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 1 using HeuristicLab.Common; 2 using HeuristicLab.Core; 3 using HeuristicLab.Data; 4 using HeuristicLab.Encodings.IntegerVectorEncoding; 5 using HeuristicLab.Encodings.RealVectorEncoding; 5 6 using HeuristicLab.Operators; 7 using HeuristicLab.Optimization; 8 using HeuristicLab.Parameters; 6 9 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 7 using HeuristicLab.Core;8 using HeuristicLab.Parameters;9 using HeuristicLab.Encodings.RealVectorEncoding;10 using HeuristicLab.Encodings.BinaryVectorEncoding;11 using HeuristicLab.Encodings.IntegerVectorEncoding;12 using HeuristicLab.Collections;13 using HeuristicLab.Data;14 using HeuristicLab.Optimization;15 using HeuristicLab.Common;16 10 17 11 namespace HeuristicLab.Problems.MetaOptimization.Encodings.Crossovers { … … 79 73 IntegerVector integerChild = HeuristicLab.Encodings.IntegerVectorEncoding.DiscreteCrossover.Apply( 80 74 RandomParameter.ActualValue, 81 new IntegerVector(new IntArray(new int[] { ((IntValue)parameter1. Value).Value })),82 new IntegerVector(new IntArray(new int[] { ((IntValue)parameter2. Value).Value })));75 new IntegerVector(new IntArray(new int[] { ((IntValue)parameter1.ActualValueConfiguration).Value })), 76 new IntegerVector(new IntArray(new int[] { ((IntValue)parameter2.ActualValueConfiguration).Value }))); 83 77 return new IntValue(integerChild[0]); 84 78 } -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Encodings/ValueTypeParameterConfiguration.cs
r4832 r4839 18 18 } 19 19 20 public ValueTypeParameterConfiguration( ParameterConfiguration parentConfiguration, string parameterName, IValueParameter valueParameter) : base(parentConfiguration,parameterName, valueParameter) {20 public ValueTypeParameterConfiguration(string parameterName, IValueParameter valueParameter) : base(parameterName, valueParameter) { 21 21 this.ranges = new ItemList<IRange<T>>(); 22 22 this.ranges.ItemsAdded += new CollectionItemsChangedEventHandler<IndexedItem<IRange<T>>>(ranges_ItemsAdded); -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Evaluators/MetaOptimizationEvaluator.cs
r4830 r4839 1 1 using System; 2 using System.Collections.Generic;3 using System.Linq;4 using System.Text;5 using HeuristicLab.Operators;6 using HeuristicLab.Data;7 using HeuristicLab.Parameters;8 using HeuristicLab.Core;9 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;10 using HeuristicLab.Optimization;11 2 using System.Threading; 12 3 using HeuristicLab.Common; 4 using HeuristicLab.Core; 5 using HeuristicLab.Data; 6 using HeuristicLab.Operators; 7 using HeuristicLab.Optimization; 8 using HeuristicLab.Parameters; 9 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 13 10 14 11 namespace HeuristicLab.Problems.MetaOptimization { … … 65 62 AlgorithmParameter.ActualValue.Prepare(); 66 63 //ParameterizeAlgorithm(); 67 ParameterConfigurationParameter.ActualValue.Parameterize(AlgorithmParameter.ActualValue);64 //ParameterConfigurationParameter.ActualValue.Parameterize(AlgorithmParameter.ActualValue); 68 65 algorithmStopped = false; 69 66 AlgorithmParameter.ActualValue.Stopped += new EventHandler(ActualValue_Stopped); -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/HeuristicLab.Problems.MetaOptimization-3.3.csproj
r4832 r4839 88 88 <ItemGroup> 89 89 <Compile Include="Analyzers\BestParameterConfigurationAnalyzer.cs" /> 90 <Compile Include="Encodings\ValueConfigurations\ValueConfiguration.cs" /> 90 91 <Compile Include="Interfaces\IParameterConfigurationCreator.cs" /> 91 92 <Compile Include="Creators\RandomParameterConfigurationCreator.cs" /> 92 93 <Compile Include="Encodings\Crossovers\ParameterConfigurationCrossover.cs" /> 93 <Compile Include="Encodings\IntValueParameterConfiguration.cs" />94 <Compile Include="Encodings\ValueTypeParameterConfiguration.cs">95 <SubType>Code</SubType>96 </Compile>97 <Compile Include="Encodings\RootParameterConfiguration.cs" />98 94 <Compile Include="Interfaces\IParameterConfigurationOperator.cs" /> 99 95 <Compile Include="Interfaces\IRange.cs" /> … … 101 97 <Compile Include="Interfaces\IMetaOptimizationEvaluator.cs" /> 102 98 <Compile Include="Interfaces\IParameterConfiguration.cs" /> 103 <Compile Include="Encodings\ParameterConfiguration.cs" /> 99 <Compile Include="Encodings\ParameterConfigurations\ParameterConfiguration.cs" /> 100 <Compile Include="Interfaces\IValueConfiguration.cs" /> 104 101 <Compile Include="Range.cs" /> 105 102 <Compile Include="Properties\AssemblyInfo.cs" /> -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Interfaces/IMetaOptimizationEvaluator.cs
r4516 r4839 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using HeuristicLab.Optimization; 1 using HeuristicLab.Optimization; 6 2 7 3 namespace HeuristicLab.Problems.MetaOptimization { -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Interfaces/IParameterConfiguration.cs
r4832 r4839 1 1 using System; 2 using HeuristicLab.Core; 2 3 using System.Collections.Generic; 3 using System.Linq;4 using System.Text;5 using HeuristicLab.Core;6 4 7 5 namespace HeuristicLab.Problems.MetaOptimization { … … 9 7 bool OptimizationEnabled { get; set; } 10 8 string ParameterName { get; set; } 11 //IParameter Parameter { get; } 12 Type ParameterType { get; } 13 Type ValueType { get; } 14 IItem Value { get; set; } 15 IItemList<IParameterConfiguration> ChildParameterConfigurations { get; } 16 17 void Parameterize(IParameterizedItem parameterizedItem); 9 Type ParameterDataType { get; } 10 ICheckedItemList<IValueConfiguration> ValueConfigurations { get; } 11 IValueConfiguration ActualValueConfiguration { get; set; } 12 Type ValueDataType { get; } 13 IEnumerable<IItem> ValidValues { get; } 18 14 19 15 event EventHandler OptimizationEnabledChanged; 20 event EventHandler ValueChanging;21 event EventHandler ValueChanged;22 16 } 23 17 } -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Interfaces/IParameterConfigurationCreator.cs
r4830 r4839 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using HeuristicLab.Optimization; 1 using HeuristicLab.Optimization; 6 2 7 3 namespace HeuristicLab.Problems.MetaOptimization { -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Interfaces/IParameterConfigurationOperator.cs
r4830 r4839 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using HeuristicLab.Core; 1 using HeuristicLab.Core; 6 2 7 3 namespace HeuristicLab.Problems.MetaOptimization { -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Interfaces/IRange.cs
r4830 r4839 1 1 using System; 2 using System.Collections.Generic;3 using System.Linq;4 using System.Text;5 2 using HeuristicLab.Common; 3 using HeuristicLab.Core; 6 4 using HeuristicLab.Data; 7 using HeuristicLab.Core;8 5 9 6 namespace HeuristicLab.Problems.MetaOptimization { -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/MetaOptimizationProblem.cs
r4830 r4839 21 21 22 22 using System; 23 using System.Collections.Generic;24 23 using System.Linq; 25 using System.Drawing; 24 using HeuristicLab.Common; 25 using HeuristicLab.Core; 26 using HeuristicLab.Data; 27 using HeuristicLab.Optimization; 28 using HeuristicLab.Parameters; 26 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 using HeuristicLab.Core;28 using HeuristicLab.Optimization;29 using HeuristicLab.Common;30 using HeuristicLab.Parameters;31 using HeuristicLab.Data;32 30 using HeuristicLab.PluginInfrastructure; 33 31 … … 49 47 get { return (ValueParameter<IItemList<ISingleObjectiveProblem>>)Parameters[ProblemsParameterName]; } 50 48 } 51 public ValueParameter<I ParameterConfiguration> AlgorithmParameterConfigurationParameter {52 get { return (ValueParameter<I ParameterConfiguration>)Parameters[AlgorithmParameterConfigurationParameterName]; }49 public ValueParameter<IValueConfiguration> AlgorithmParameterConfigurationParameter { 50 get { return (ValueParameter<IValueConfiguration>)Parameters[AlgorithmParameterConfigurationParameterName]; } 53 51 } 54 52 //public ValueParameter<IItemList<IParameterConfiguration>> ProblemParametersConfigurationParameter { … … 66 64 set { ProblemsParameter.Value = value; } 67 65 } 68 public I ParameterConfiguration AlgorithmParameterConfiguration {66 public IValueConfiguration AlgorithmParameterConfiguration { 69 67 get { return AlgorithmParameterConfigurationParameter.Value; } 70 68 set { AlgorithmParameterConfigurationParameter.Value = value; } … … 80 78 Parameters.Add(new ValueParameter<IAlgorithm>(AlgorithmParameterName, "The algorithm which's parameters should be optimized.")); 81 79 Parameters.Add(new ValueParameter<IItemList<IProblem>>(ProblemsParameterName, "The problems that should be evaluated.", new ItemList<IProblem>())); 82 Parameters.Add(new ValueParameter<I ParameterConfiguration>(AlgorithmParameterConfigurationParameterName, "List of algorithm parameters that should be optimized."));80 Parameters.Add(new ValueParameter<IValueConfiguration>(AlgorithmParameterConfigurationParameterName, "List of algorithm parameters that should be optimized.")); 83 81 //Parameters.Add(new ValueParameter<IItemList<IParameterConfiguration>>(ProblemParametersConfigurationParameterName, "List of problem parameters that should be optimized.", new ItemList<IParameterConfiguration>())); 84 82 … … 155 153 if (Algorithm != null) { 156 154 Algorithm.ProblemChanged += new EventHandler(BaseLevelAlgorithm_ProblemChanged); 157 AlgorithmParameterConfiguration = ParameterConfiguration.Create(Algorithm);155 AlgorithmParameterConfiguration = new ValueConfiguration(Algorithm, Algorithm.GetType()); 158 156 } 159 157 BaseLevelAlgorithm_ProblemChanged(sender, e); -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Properties/AssemblyInfo.cs
r4516 r4839 1 1 using System.Reflection; 2 using System.Runtime.CompilerServices;3 2 using System.Runtime.InteropServices; 4 3 -
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Range.cs
r4830 r4839 1 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 2 using HeuristicLab.Common; 5 3 using HeuristicLab.Core; 6 4 using HeuristicLab.Data; 7 5 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 8 using HeuristicLab.Common;9 6 10 7 namespace HeuristicLab.Problems.MetaOptimization {
Note: See TracChangeset
for help on using the changeset viewer.