Changeset 3103
- Timestamp:
- 03/18/10 22:54:50 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 4 deleted
- 3 edited
- 4 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab 3.3.sln
r3100 r3103 203 203 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Problems.Knapsack.Views-3.3", "HeuristicLab.Problems.Knapsack.Views\3.3\HeuristicLab.Problems.Knapsack.Views-3.3.csproj", "{A9EE65D9-405B-4C9C-B470-FC911AAC541B}" 204 204 EndProject 205 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Algorithms.LS-3.3", "HeuristicLab.Algorithms.LS\3.3\HeuristicLab.Algorithms.LS-3.3.csproj", "{4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}"206 EndProject207 205 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Algorithms.SimulatedAnnealing-3.3", "HeuristicLab.Algorithms.SimulatedAnnealing\3.3\HeuristicLab.Algorithms.SimulatedAnnealing-3.3.csproj", "{96E5ED5B-187D-4012-9CDA-D85CDAD38342}" 208 206 EndProject … … 214 212 EndProject 215 213 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Algorithms.TabuSearch-3.3", "HeuristicLab.Algorithms.TabuSearch\3.3\HeuristicLab.Algorithms.TabuSearch-3.3.csproj", "{D58A232D-04BA-4186-B73E-0EC86FD31ABE}" 214 EndProject 215 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Algorithms.LocalSearch-3.3", "HeuristicLab.Algorithms.LocalSearch\3.3\HeuristicLab.Algorithms.LocalSearch-3.3.csproj", "{4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}" 216 216 EndProject 217 217 Global … … 1167 1167 {A9EE65D9-405B-4C9C-B470-FC911AAC541B}.Services|x64.ActiveCfg = Release|x64 1168 1168 {A9EE65D9-405B-4C9C-B470-FC911AAC541B}.Services|x86.ActiveCfg = Release|x86 1169 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU1170 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Debug|Any CPU.Build.0 = Debug|Any CPU1171 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Debug|x64.ActiveCfg = Debug|x641172 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Debug|x64.Build.0 = Debug|x641173 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Debug|x86.ActiveCfg = Debug|x861174 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Debug|x86.Build.0 = Debug|x861175 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Release|Any CPU.ActiveCfg = Release|Any CPU1176 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Release|Any CPU.Build.0 = Release|Any CPU1177 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Release|x64.ActiveCfg = Release|x641178 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Release|x64.Build.0 = Release|x641179 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Release|x86.ActiveCfg = Release|x861180 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Release|x86.Build.0 = Release|x861181 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Services|Any CPU.ActiveCfg = Release|Any CPU1182 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Services|Any CPU.Build.0 = Release|Any CPU1183 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Services|x64.ActiveCfg = Release|x641184 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Services|x86.ActiveCfg = Release|x861185 1169 {96E5ED5B-187D-4012-9CDA-D85CDAD38342}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 1186 1170 {96E5ED5B-187D-4012-9CDA-D85CDAD38342}.Debug|Any CPU.Build.0 = Debug|Any CPU … … 1254 1238 {D58A232D-04BA-4186-B73E-0EC86FD31ABE}.Services|x86.ActiveCfg = Release|x86 1255 1239 {D58A232D-04BA-4186-B73E-0EC86FD31ABE}.Services|x86.Build.0 = Release|x86 1240 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 1241 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Debug|Any CPU.Build.0 = Debug|Any CPU 1242 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Debug|x64.ActiveCfg = Debug|x64 1243 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Debug|x64.Build.0 = Debug|x64 1244 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Debug|x86.ActiveCfg = Debug|x86 1245 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Debug|x86.Build.0 = Debug|x86 1246 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Release|Any CPU.ActiveCfg = Release|Any CPU 1247 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Release|Any CPU.Build.0 = Release|Any CPU 1248 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Release|x64.ActiveCfg = Release|x64 1249 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Release|x64.Build.0 = Release|x64 1250 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Release|x86.ActiveCfg = Release|x86 1251 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Release|x86.Build.0 = Release|x86 1252 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Services|Any CPU.ActiveCfg = Release|x86 1253 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Services|x64.ActiveCfg = Release|x86 1254 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Services|x86.ActiveCfg = Release|x86 1255 {4AE3FC69-C575-42D2-BC46-0FAD5850EFC5}.Services|x86.Build.0 = Release|x86 1256 1256 EndGlobalSection 1257 1257 GlobalSection(SolutionProperties) = preSolution -
trunk/sources/HeuristicLab 3.3/Files.txt
r3100 r3103 7 7 HeuristicLab.Algorithms.SGA.Views\3.3:HeuristicLab.Algorithms.SGA.Views-3.3.dll 8 8 HeuristicLab.Algorithms.TabuSearch\3.3:HeuristicLab.Algorithms.TabuSearch-3.3.dll 9 HeuristicLab.Algorithms.L S\3.3:HeuristicLab.Algorithms.LS-3.3.dll9 HeuristicLab.Algorithms.LocalSearch\3.3:HeuristicLab.Algorithms.LocalSearch-3.3.dll 10 10 HeuristicLab.Algorithms.SimulatedAnnealing\3.3:HeuristicLab.Algorithms.SimulatedAnnealing-3.3.dll 11 11 HeuristicLab.Analysis\3.3:HeuristicLab.Analysis-3.3.dll -
trunk/sources/HeuristicLab.Algorithms.LocalSearch/3.3
- Property svn:ignore
-
old new 2 2 bin 3 3 obj 4 HeuristicLabAlgorithmsL SPlugin.cs4 HeuristicLabAlgorithmsLocalSearchPlugin.cs
-
- Property svn:ignore
-
trunk/sources/HeuristicLab.Algorithms.LocalSearch/3.3/HeuristicLab.Algorithms.LocalSearch-3.3.csproj
r3097 r3103 9 9 <OutputType>Library</OutputType> 10 10 <AppDesignerFolder>Properties</AppDesignerFolder> 11 <RootNamespace>HeuristicLab.Algorithms.L S</RootNamespace>12 <AssemblyName>HeuristicLab.Algorithms.L S-3.3</AssemblyName>11 <RootNamespace>HeuristicLab.Algorithms.LocalSearch</RootNamespace> 12 <AssemblyName>HeuristicLab.Algorithms.LocalSearch-3.3</AssemblyName> 13 13 <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> 14 14 <FileAlignment>512</FileAlignment> … … 80 80 </ItemGroup> 81 81 <ItemGroup> 82 <Compile Include="HeuristicLabAlgorithmsL SPlugin.cs" />83 <Compile Include="L SMainLoop.cs" />82 <Compile Include="HeuristicLabAlgorithmsLocalSearchPlugin.cs" /> 83 <Compile Include="LocalSearchMainLoop.cs" /> 84 84 <Compile Include="Properties\AssemblyInfo.cs" /> 85 <Compile Include="L S.cs" />85 <Compile Include="LocalSearch.cs" /> 86 86 </ItemGroup> 87 87 <ItemGroup> 88 88 <None Include="HeuristicLab.snk" /> 89 <None Include="HeuristicLabAlgorithmsL SPlugin.cs.frame" />89 <None Include="HeuristicLabAlgorithmsLocalSearchPlugin.cs.frame" /> 90 90 <None Include="Properties\AssemblyInfo.frame" /> 91 91 </ItemGroup> … … 155 155 156 156 call PreBuildEvent.cmd 157 SubWCRev "%25ProjectDir%25\" "%25ProjectDir%25\HeuristicLabAlgorithmsL SPlugin.cs.frame" "%25ProjectDir%25\HeuristicLabAlgorithmsLSPlugin.cs"</PreBuildEvent>157 SubWCRev "%25ProjectDir%25\" "%25ProjectDir%25\HeuristicLabAlgorithmsLocalSearchPlugin.cs.frame" "%25ProjectDir%25\HeuristicLabAlgorithmsLocalSearchPlugin.cs"</PreBuildEvent> 158 158 </PropertyGroup> 159 159 </Project> -
trunk/sources/HeuristicLab.Algorithms.LocalSearch/3.3/HeuristicLabAlgorithmsLocalSearchPlugin.cs.frame
r3097 r3103 22 22 using HeuristicLab.PluginInfrastructure; 23 23 24 namespace HeuristicLab.Algorithms.L S{24 namespace HeuristicLab.Algorithms.LocalSearch { 25 25 /// <summary> 26 /// Plugin class for HeuristicLab.Algorithms.L Splugin.26 /// Plugin class for HeuristicLab.Algorithms.LocalSearch plugin. 27 27 /// </summary> 28 [Plugin("HeuristicLab.Algorithms.L S", "3.3.0.$WCREV$")]29 [PluginFile("HeuristicLab.Algorithms.L S-3.3.dll", PluginFileType.Assembly)]28 [Plugin("HeuristicLab.Algorithms.LocalSearch", "3.3.0.$WCREV$")] 29 [PluginFile("HeuristicLab.Algorithms.LocalSearch-3.3.dll", PluginFileType.Assembly)] 30 30 [PluginDependency("HeuristicLab.Analysis", "3.3")] 31 31 [PluginDependency("HeuristicLab.Collections", "3.3")] … … 39 39 [PluginDependency("HeuristicLab.Random", "3.3")] 40 40 [PluginDependency("HeuristicLab.Selection", "3.3")] 41 public class HeuristicLabAlgorithmsL SPlugin : PluginBase {41 public class HeuristicLabAlgorithmsLocalSearchPlugin : PluginBase { 42 42 } 43 43 } -
trunk/sources/HeuristicLab.Algorithms.LocalSearch/3.3/LocalSearch.cs
r3097 r3103 32 32 using HeuristicLab.PluginInfrastructure; 33 33 34 namespace HeuristicLab.Algorithms.L S{35 [Item("L S", "A local search algorithm.")]34 namespace HeuristicLab.Algorithms.LocalSearch { 35 [Item("LocalSearch", "A local search algorithm.")] 36 36 [Creatable("Algorithms")] 37 public sealed class L S: EngineAlgorithm {37 public sealed class LocalSearch : EngineAlgorithm { 38 38 #region Problem Properties 39 39 public override Type ProblemType { … … 98 98 get { return (SolutionsCreator)RandomCreator.Successor; } 99 99 } 100 private L SMainLoop LSMainLoop {101 get { return (L SMainLoop)SolutionsCreator.Successor; }102 } 103 #endregion 104 105 public L S()100 private LocalSearchMainLoop MainLoop { 101 get { return (LocalSearchMainLoop)SolutionsCreator.Successor; } 102 } 103 #endregion 104 105 public LocalSearch() 106 106 : base() { 107 107 Parameters.Add(new ValueParameter<IntValue>("Seed", "The random seed used to initialize the new pseudo random number generator.", new IntValue(0))); … … 114 114 RandomCreator randomCreator = new RandomCreator(); 115 115 SolutionsCreator solutionsCreator = new SolutionsCreator(); 116 L SMainLoop lsMainLoop = new LSMainLoop();116 LocalSearchMainLoop lsMainLoop = new LocalSearchMainLoop(); 117 117 OperatorGraph.InitialOperator = randomCreator; 118 118 … … 138 138 139 139 [StorableConstructor] 140 private L S(bool deserializing) : base() { }140 private LocalSearch(bool deserializing) : base() { } 141 141 142 142 public override IDeepCloneable Clone(Cloner cloner) { 143 L S clone = (LS)base.Clone(cloner);143 LocalSearch clone = (LocalSearch)base.Clone(cloner); 144 144 clone.Initialize(); 145 145 return clone; … … 272 272 } 273 273 private void ParameterizeLSMainLoop() { 274 LSMainLoop.MaximizationParameter.ActualName = Problem.MaximizationParameter.Name;275 LSMainLoop.QualityParameter.ActualName = Problem.Evaluator.QualityParameter.ActualName;274 MainLoop.MaximizationParameter.ActualName = Problem.MaximizationParameter.Name; 275 MainLoop.QualityParameter.ActualName = Problem.Evaluator.QualityParameter.ActualName; 276 276 if (MoveEvaluator != null) 277 LSMainLoop.MoveQualityParameter.ActualName = MoveEvaluator.MoveQualityParameter.ActualName;277 MainLoop.MoveQualityParameter.ActualName = MoveEvaluator.MoveQualityParameter.ActualName; 278 278 } 279 279 private void ParameterizeStochasticOperator(IOperator op) { -
trunk/sources/HeuristicLab.Algorithms.LocalSearch/3.3/LocalSearchMainLoop.cs
r3097 r3103 29 29 using HeuristicLab.Selection; 30 30 31 namespace HeuristicLab.Algorithms.L S{31 namespace HeuristicLab.Algorithms.LocalSearch { 32 32 /// <summary> 33 /// An operator which represents a tabusearch.33 /// An operator which represents a local search. 34 34 /// </summary> 35 [Item("L SMainLoop", "An operator which represents the main loop of a best improvement local search.")]35 [Item("LocalSearchMainLoop", "An operator which represents the main loop of a best improvement local search (if only a single move is generated in each iteration it is a first improvement local search).")] 36 36 [StorableClass] 37 public class L SMainLoop : AlgorithmOperator {37 public class LocalSearchMainLoop : AlgorithmOperator { 38 38 #region Parameter properties 39 39 public ValueLookupParameter<IRandom> RandomParameter { … … 73 73 #endregion 74 74 75 public L SMainLoop()75 public LocalSearchMainLoop() 76 76 : base() { 77 77 #region Create parameters
Note: See TracChangeset
for help on using the changeset viewer.