Changeset 15171
- Timestamp:
- 07/08/17 12:31:54 (7 years ago)
- Location:
- branches/ParameterConfigurationEncoding
- Files:
-
- 2 added
- 2 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding.Views/3.3
-
Property
svn:ignore
set to
Plugin.cs
-
Property
svn:ignore
set to
-
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding.Views/3.3/HeuristicLab.Encodings.ParameterConfigurationEncoding.Views-3.3.csproj
r9356 r15171 11 11 <RootNamespace>HeuristicLab.Encodings.ParameterConfigurationEncoding.Views</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Encodings.ParameterConfigurationEncoding.Views-3.3</AssemblyName> 13 <TargetFrameworkVersion>v4. 0</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> 14 14 <FileAlignment>512</FileAlignment> 15 15 </PropertyGroup> … … 40 40 <ItemGroup> 41 41 <Reference Include="HeuristicLab.Collections-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 42 <SpecificVersion>False</SpecificVersion> 43 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Collections-3.3.dll</HintPath> 42 44 <Private>False</Private> 43 45 </Reference> 44 46 <Reference Include="HeuristicLab.Common-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 47 <SpecificVersion>False</SpecificVersion> 48 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Common-3.3.dll</HintPath> 45 49 <Private>False</Private> 46 50 </Reference> 47 51 <Reference Include="HeuristicLab.Common.Resources-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 52 <SpecificVersion>False</SpecificVersion> 53 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Common.Resources-3.3.dll</HintPath> 48 54 <Private>False</Private> 49 55 </Reference> 50 56 <Reference Include="HeuristicLab.Core-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 57 <SpecificVersion>False</SpecificVersion> 58 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Core-3.3.dll</HintPath> 51 59 <Private>False</Private> 52 60 </Reference> 53 61 <Reference Include="HeuristicLab.Core.Views-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 62 <SpecificVersion>False</SpecificVersion> 63 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Core.Views-3.3.dll</HintPath> 54 64 <Private>False</Private> 55 65 </Reference> 56 66 <Reference Include="HeuristicLab.Data-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 67 <SpecificVersion>False</SpecificVersion> 68 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Data-3.3.dll</HintPath> 57 69 <Private>False</Private> 58 70 </Reference> 59 71 <Reference Include="HeuristicLab.Data.Views-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 72 <SpecificVersion>False</SpecificVersion> 73 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Data.Views-3.3.dll</HintPath> 60 74 <Private>False</Private> 61 75 </Reference> 62 76 <Reference Include="HeuristicLab.MainForm-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 77 <SpecificVersion>False</SpecificVersion> 78 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.MainForm-3.3.dll</HintPath> 63 79 <Private>False</Private> 64 80 </Reference> 65 81 <Reference Include="HeuristicLab.MainForm.WindowsForms-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 82 <SpecificVersion>False</SpecificVersion> 83 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.MainForm.WindowsForms-3.3.dll</HintPath> 66 84 <Private>False</Private> 67 85 </Reference> 68 86 <Reference Include="HeuristicLab.Optimization-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 87 <SpecificVersion>False</SpecificVersion> 88 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Optimization-3.3.dll</HintPath> 69 89 <Private>False</Private> 70 90 </Reference> 71 91 <Reference Include="HeuristicLab.Optimization.Views-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 92 <SpecificVersion>False</SpecificVersion> 93 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Optimization.Views-3.3.dll</HintPath> 72 94 <Private>False</Private> 73 95 </Reference> 74 96 <Reference Include="HeuristicLab.Optimizer-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 97 <SpecificVersion>False</SpecificVersion> 98 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Optimizer-3.3.dll</HintPath> 75 99 <Private>False</Private> 76 100 </Reference> 77 101 <Reference Include="HeuristicLab.Parameters-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 102 <SpecificVersion>False</SpecificVersion> 103 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Parameters-3.3.dll</HintPath> 78 104 <Private>False</Private> 79 105 </Reference> 80 106 <Reference Include="HeuristicLab.Parameters.Views-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 107 <SpecificVersion>False</SpecificVersion> 108 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Parameters.Views-3.3.dll</HintPath> 81 109 <Private>False</Private> 82 110 </Reference> 83 111 <Reference Include="HeuristicLab.PluginInfrastructure-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 112 <SpecificVersion>False</SpecificVersion> 113 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath> 84 114 <Private>False</Private> 85 115 </Reference> 86 116 <Reference Include="HeuristicLab.Problems.Instances-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 117 <SpecificVersion>False</SpecificVersion> 118 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Problems.Instances-3.3.dll</HintPath> 87 119 <Private>False</Private> 88 120 </Reference> … … 96 128 <ItemGroup> 97 129 <None Include="Plugin.cs.frame" /> 98 <Compile Include="CreateExperiment DialogV2.cs">99 <SubType> Form</SubType>100 </Compile> 101 <Compile Include="CreateExperiment DialogV2.Designer.cs">102 <DependentUpon>CreateExperiment DialogV2.cs</DependentUpon>130 <Compile Include="CreateExperimentView.cs"> 131 <SubType>UserControl</SubType> 132 </Compile> 133 <Compile Include="CreateExperimentView.Designer.cs"> 134 <DependentUpon>CreateExperimentView.cs</DependentUpon> 103 135 </Compile> 104 136 <Compile Include="MenuItems\CreateExperimentMenuItemV2.cs" /> … … 145 177 <ItemGroup> 146 178 <ProjectReference Include="..\..\HeuristicLab.Encodings.ParameterConfigurationEncoding\3.3\HeuristicLab.Encodings.ParameterConfigurationEncoding-3.3.csproj"> 147 <Project>{7520 D3F4-7526-4BB7-B71E-F41F5D5559F9}</Project>179 <Project>{7520d3f4-7526-4bb7-b71e-f41f5d5559f9}</Project> 148 180 <Name>HeuristicLab.Encodings.ParameterConfigurationEncoding-3.3</Name> 149 181 <Private>False</Private> -
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding.Views/3.3/MenuItems/CreateExperimentMenuItemV2.cs
r8535 r15171 23 23 using System.Collections.Generic; 24 24 using System.Windows.Forms; 25 using HeuristicLab.Core;26 25 using HeuristicLab.MainForm; 27 26 using HeuristicLab.Optimization; 28 27 using HeuristicLab.Optimizer; 29 using HeuristicLab.PluginInfrastructure;30 28 31 29 namespace HeuristicLab.Encodings.ParameterConfigurationEncoding.Views { 32 30 public class CreateExperimentMenuItemV2 : HeuristicLab.MainForm.WindowsForms.MenuItem, IOptimizerUserInterfaceItemProvider { 33 31 public override string Name { 34 get { return "Create E xperiment (v2)"; }32 get { return "Create E&xperiment (v2)"; } 35 33 } 36 34 public override IEnumerable<string> Structure { … … 49 47 protected override void OnActiveViewChanged(object sender, EventArgs e) { 50 48 IContentView activeView = MainFormManager.MainForm.ActiveView as IContentView; 51 ToolStripItem.Enabled = (activeView != null) && (activeView.Content != null) && (activeView.Content is IAlgorithm) && !activeView.Locked;49 ToolStripItem.Enabled = (activeView != null) && (activeView.Content as IAlgorithm != null) && !activeView.Locked; 52 50 } 53 51 54 52 public override void Execute() { 55 IContentView activeView = MainFormManager.MainForm.ActiveView as IContentView; 56 if ((activeView != null) && (activeView.Content != null) && (activeView.Content is IAlgorithm) && !activeView.Locked) { 57 using (CreateExperimentDialogV2 dialog = new CreateExperimentDialogV2((IAlgorithm)activeView.Content, ApplicationManager.Manager.GetInstances<IEngine>())) { 58 if (dialog.ShowDialog() == DialogResult.OK) MainFormManager.MainForm.ShowContent(dialog.Experiment); 59 } 53 var activeView = MainFormManager.MainForm.ActiveView as IContentView; 54 if (activeView == null) return; 55 var algorithm = activeView.Content as IAlgorithm; 56 if (algorithm == null) return; 57 58 if (!activeView.Locked) { 59 MainFormManager.MainForm.ShowContent(algorithm, typeof(CreateExperimentView)); 60 60 } 61 61 } -
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding.Views/3.3/Plugin.cs.frame
r8524 r15171 28 28 [Plugin("HeuristicLab.Encodings.ParameterConfigurationEncoding.Views", "3.3.7.$WCREV$")] 29 29 [PluginFile("HeuristicLab.Encodings.ParameterConfigurationEncoding.Views-3.3.dll", PluginFileType.Assembly)] 30 [PluginDependency("HeuristicLab.Collections", "3.3")]31 30 [PluginDependency("HeuristicLab.Common", "3.3")] 32 31 [PluginDependency("HeuristicLab.Common.Resources", "3.3")] … … 39 38 [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.3")] 40 39 [PluginDependency("HeuristicLab.Optimization", "3.3")] 41 [PluginDependency("HeuristicLab.Optimization.Views", "3.3")]42 40 [PluginDependency("HeuristicLab.Optimizer", "3.3")] 43 [PluginDependency("HeuristicLab.Parameters", "3.3")]44 [PluginDependency("HeuristicLab.Parameters.Views", "3.3")]45 41 [PluginDependency("HeuristicLab.Problems.Instances", "3.3")] 46 42 public class HeuristicLabEncodingsParameterConfigurationEncodingViewsPlugin : PluginBase { -
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding.Views/3.3/Properties
-
Property
svn:ignore
set to
AssemblyInfo.cs
-
Property
svn:ignore
set to
-
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3
-
Property
svn:ignore
set to
Plugin.cs
-
Property
svn:ignore
set to
-
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/ExperimentFactory.cs
r8574 r15171 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq; 24 25 using System.Threading; 25 26 using HeuristicLab.Optimization; … … 32 33 get { return experimentGenerationProgress; } 33 34 private set { 34 if (experimentGenerationProgress != value) { 35 experimentGenerationProgress = value; 36 OnExperimentGenerationProgressChanged(); 37 } 35 experimentGenerationProgress = value; 36 OnExperimentGenerationProgressChanged(); 38 37 } 39 38 } … … 47 46 public Experiment GenerateExperiment(IAlgorithm algorithm, ParameterConfigurationTree configuration, bool createBatchRuns, int repetitions, Dictionary<IProblemInstanceProvider, HashSet<IDataDescriptor>> problemInstances, CancellationToken ct) { 48 47 var experiment = new Experiment(); 49 var algorithms = new List<IAlgorithm>(1 + problemInstances.Values.Count) { (IAlgorithm)algorithm.Clone() }; 50 foreach (var provider in problemInstances) { 51 foreach (var descriptor in provider.Value) { 52 var alg = (IAlgorithm)algorithm.Clone(); 53 ProblemInstanceManager.LoadData(provider.Key, descriptor, (IProblemInstanceConsumer)alg.Problem); 54 algorithms.Add(alg); 48 var algorithms = new List<IAlgorithm>(); 49 50 if (problemInstances.Values.Sum(x => x.Count) > 0) { 51 foreach (var provider in problemInstances) { 52 foreach (var descriptor in provider.Value) { 53 var alg = (IAlgorithm)algorithm.Clone(); 54 ProblemInstanceManager.LoadData(provider.Key, descriptor, (IProblemInstanceConsumer)alg.Problem); 55 algorithms.Add(alg); 56 } 55 57 } 56 } 58 } else algorithms.Add((IAlgorithm)algorithm.Clone()); 59 57 60 ExperimentGenerationProgress = 0; 61 58 62 foreach (var alg in algorithms) { 59 63 foreach (ParameterizedValueConfiguration combination in configuration) { … … 74 78 } 75 79 } 80 76 81 return experiment; 77 82 } -
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/HeuristicLab.Encodings.ParameterConfigurationEncoding-3.3.csproj
r8644 r15171 11 11 <RootNamespace>HeuristicLab.Encodings.ParameterConfigurationEncoding</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Encodings.ParameterConfigurationEncoding-3.3</AssemblyName> 13 <TargetFrameworkVersion>v4. 0</TargetFrameworkVersion>13 <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> 14 14 <FileAlignment>512</FileAlignment> 15 15 </PropertyGroup> … … 39 39 </PropertyGroup> 40 40 <ItemGroup> 41 <Reference Include="HeuristicLab.Collections-3.3"> 41 <Reference Include="HeuristicLab.Collections-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 42 <SpecificVersion>False</SpecificVersion> 42 43 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Collections-3.3.dll</HintPath> 43 44 <Private>False</Private> 44 45 </Reference> 45 <Reference Include="HeuristicLab.Common-3.3"> 46 <Reference Include="HeuristicLab.Common-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 47 <SpecificVersion>False</SpecificVersion> 46 48 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Common-3.3.dll</HintPath> 47 49 <Private>False</Private> 48 50 </Reference> 49 51 <Reference Include="HeuristicLab.Common.Resources-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 50 <Private>False</Private> 51 </Reference> 52 <Reference Include="HeuristicLab.Core-3.3"> 52 <SpecificVersion>False</SpecificVersion> 53 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Common.Resources-3.3.dll</HintPath> 54 <Private>False</Private> 55 </Reference> 56 <Reference Include="HeuristicLab.Core-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 57 <SpecificVersion>False</SpecificVersion> 53 58 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Core-3.3.dll</HintPath> 54 59 <Private>False</Private> 55 60 </Reference> 56 <Reference Include="HeuristicLab.Data-3.3"> 61 <Reference Include="HeuristicLab.Data-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 62 <SpecificVersion>False</SpecificVersion> 57 63 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Data-3.3.dll</HintPath> 58 64 <Private>False</Private> 59 65 </Reference> 60 <Reference Include="HeuristicLab.Encodings.IntegerVectorEncoding-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 61 <Reference Include="HeuristicLab.Encodings.RealVectorEncoding-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 62 <Reference Include="HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4"> 66 <Reference Include="HeuristicLab.Encodings.IntegerVectorEncoding-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 67 <SpecificVersion>False</SpecificVersion> 68 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Encodings.IntegerVectorEncoding-3.3.dll</HintPath> 69 <Private>False</Private> 70 </Reference> 71 <Reference Include="HeuristicLab.Encodings.RealVectorEncoding-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 72 <SpecificVersion>False</SpecificVersion> 73 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Encodings.RealVectorEncoding-3.3.dll</HintPath> 74 <Private>False</Private> 75 </Reference> 76 <Reference Include="HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4, Version=3.4.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 77 <SpecificVersion>False</SpecificVersion> 63 78 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4.dll</HintPath> 64 79 <Private>False</Private> 65 80 </Reference> 66 <Reference Include="HeuristicLab.Operators-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 67 <Reference Include="HeuristicLab.Optimization-3.3"> 81 <Reference Include="HeuristicLab.Operators-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 82 <SpecificVersion>False</SpecificVersion> 83 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Operators-3.3.dll</HintPath> 84 <Private>False</Private> 85 </Reference> 86 <Reference Include="HeuristicLab.Optimization-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 87 <SpecificVersion>False</SpecificVersion> 68 88 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Optimization-3.3.dll</HintPath> 69 89 <Private>False</Private> 70 90 </Reference> 71 <Reference Include="HeuristicLab.Parameters-3.3"> 91 <Reference Include="HeuristicLab.Parameters-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 92 <SpecificVersion>False</SpecificVersion> 72 93 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Parameters-3.3.dll</HintPath> 73 94 <Private>False</Private> 74 95 </Reference> 75 <Reference Include="HeuristicLab.Persistence-3.3"> 96 <Reference Include="HeuristicLab.Persistence-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 97 <SpecificVersion>False</SpecificVersion> 76 98 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Persistence-3.3.dll</HintPath> 77 99 <Private>False</Private> 78 100 </Reference> 79 <Reference Include="HeuristicLab.PluginInfrastructure-3.3"> 101 <Reference Include="HeuristicLab.PluginInfrastructure-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 102 <SpecificVersion>False</SpecificVersion> 80 103 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath> 81 104 <Private>False</Private> 82 105 </Reference> 83 <Reference Include="HeuristicLab.Problems.DataAnalysis-3.4, Version=3.4.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 84 <Reference Include="HeuristicLab.Problems.DataAnalysis.Symbolic-3.4"> 106 <Reference Include="HeuristicLab.Problems.DataAnalysis-3.4, Version=3.4.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 107 <SpecificVersion>False</SpecificVersion> 108 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Problems.DataAnalysis-3.4.dll</HintPath> 109 <Private>False</Private> 110 </Reference> 111 <Reference Include="HeuristicLab.Problems.DataAnalysis.Symbolic-3.4, Version=3.4.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 112 <SpecificVersion>False</SpecificVersion> 85 113 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Problems.DataAnalysis.Symbolic-3.4.dll</HintPath> 86 114 <Private>False</Private> 87 115 </Reference> 88 116 <Reference Include="HeuristicLab.Problems.Instances-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 89 <Private>False</Private> 90 </Reference> 91 <Reference Include="HeuristicLab.Random-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 117 <SpecificVersion>False</SpecificVersion> 118 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Problems.Instances-3.3.dll</HintPath> 119 <Private>False</Private> 120 </Reference> 121 <Reference Include="HeuristicLab.Random-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 122 <SpecificVersion>False</SpecificVersion> 123 <HintPath>..\..\..\..\trunk\sources\bin\HeuristicLab.Random-3.3.dll</HintPath> 124 <Private>False</Private> 125 </Reference> 92 126 <Reference Include="Microsoft.CSharp" /> 93 127 <Reference Include="System" /> -
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/ParameterCombinationsEnumerator.cs
r8517 r15171 160 160 161 161 public bool MoveNext() { 162 bool ok = currentEnumerator.Current .MoveNext();162 bool ok = currentEnumerator.Current != null && currentEnumerator.Current.MoveNext(); 163 163 if (!ok) { 164 164 ok = currentEnumerator.MoveNext(); -
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/ParameterConfigurationTree.cs
r8574 r15171 25 25 using System.Linq; 26 26 using System.Text; 27 using System.Threading;28 27 using HeuristicLab.Common; 29 28 using HeuristicLab.Core; … … 31 30 using HeuristicLab.Optimization; 32 31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 33 using HeuristicLab.Problems.Instances;34 32 35 33 namespace HeuristicLab.Encodings.ParameterConfigurationEncoding { … … 340 338 string algorithmInfo = this.AlgorithmConfiguration.ParameterInfoString; 341 339 string problemInfo = this.ProblemConfiguration.ParameterInfoString; 342 var sb = new StringBuilder(); 343 if (!string.IsNullOrEmpty(algorithmInfo)) { 344 sb.Append("Algorithm ("); 345 sb.Append(algorithmInfo); 346 sb.Append(")"); 347 } 348 if (!string.IsNullOrEmpty(problemInfo)) { 349 if (sb.Length > 0) 350 sb.Append(", "); 351 sb.Append("Problem( "); 352 sb.Append(problemInfo); 353 sb.Append(")"); 354 } 340 341 var sb = new StringBuilder(AlgorithmConfiguration.NumberedName); 342 if (!string.IsNullOrEmpty(algorithmInfo)) sb.AppendFormat(" ({0})", algorithmInfo); 343 if (!string.IsNullOrEmpty(problemInfo)) sb.AppendFormat(", {0} ({1})", ProblemConfiguration.NumberedName, problemInfo); 344 355 345 return sb.ToString(); 356 346 } -
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/Plugin.cs.frame
r8574 r15171 40 40 [PluginDependency("HeuristicLab.Parameters", "3.3")] 41 41 [PluginDependency("HeuristicLab.Persistence", "3.3")] 42 [PluginDependency("HeuristicLab.Problems.DataAnalysis", "3.4")]43 42 [PluginDependency("HeuristicLab.Problems.DataAnalysis.Symbolic", "3.4")] 44 43 [PluginDependency("HeuristicLab.Problems.Instances", "3.3")] -
branches/ParameterConfigurationEncoding/HeuristicLab.Encodings.ParameterConfigurationEncoding/3.3/Properties
-
Property
svn:ignore
set to
AssemblyInfo.cs
-
Property
svn:ignore
set to
Note: See TracChangeset
for help on using the changeset viewer.