Changeset 10090 for branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.SolutionCaching
- Timestamp:
- 10/28/13 17:51:43 (11 years ago)
- Location:
- branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.SolutionCaching/3.3
- Files:
-
- 6 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.SolutionCaching/3.3/HeuristicLab.Analysis.SolutionCaching-3.3.csproj
r10025 r10090 123 123 </ItemGroup> 124 124 <ItemGroup> 125 <Compile Include="Algorithm\ISolutionCacheAnalyzer.cs" /> 126 <Compile Include="Algorithm\SolutionCacheAnalyzer.cs" /> 127 <Compile Include="Algorithm\SolutionCacheAnalyzerAlgorithm.cs" /> 128 <Compile Include="Algorithm\ParallelOperatorProcessor.cs" /> 129 <Compile Include="ISolutionCache.cs" /> 125 130 <Compile Include="PermutationEncoding\PermutationSolutionCache.cs" /> 126 131 <Compile Include="PermutationEncoding\PermutationSolutionCachingAnalyzer.cs" /> -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.SolutionCaching/3.3/SolutionCache.cs
r10026 r10090 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using HeuristicLab.Optimization; 26 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 using HeuristicLab.PluginInfrastructure;28 28 29 29 namespace HeuristicLab.Analysis.SolutionCaching { 30 30 [Item("SolutionCache", "Stores solutions generated by an algorithm.")] 31 31 [StorableClass] 32 [NonDiscoverableType] 33 public abstract class SolutionCache<TKey, TValue> : Item 32 public abstract class SolutionCache<TKey, TValue> : Problem, ISolutionCache 34 33 where TKey : Item 35 34 where TValue : SolutionInformation<TKey> { 35 36 #region IStorableContent Members 37 public string Filename { get; set; } 38 #endregion 36 39 37 40 [Storable] … … 52 55 InitializeSolutionDictionary(); 53 56 54 foreach (KeyValuePair<TKey, List<TValue>> keyValuePair in solutionDictionary) {57 foreach (KeyValuePair<TKey, List<TValue>> keyValuePair in original.solutionDictionary) { 55 58 List<TValue> lst = new List<TValue>(); 56 59 foreach (TValue value in keyValuePair.Value) {
Note: See TracChangeset
for help on using the changeset viewer.