Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/28/13 17:51:43 (11 years ago)
Author:
ascheibe
Message:

#1886 added an algorithm that executes analyzers on a solution cache

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  
    123123  </ItemGroup>
    124124  <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" />
    125130    <Compile Include="PermutationEncoding\PermutationSolutionCache.cs" />
    126131    <Compile Include="PermutationEncoding\PermutationSolutionCachingAnalyzer.cs" />
  • branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.SolutionCaching/3.3/SolutionCache.cs

    r10026 r10090  
    2424using HeuristicLab.Common;
    2525using HeuristicLab.Core;
     26using HeuristicLab.Optimization;
    2627using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    27 using HeuristicLab.PluginInfrastructure;
    2828
    2929namespace HeuristicLab.Analysis.SolutionCaching {
    3030  [Item("SolutionCache", "Stores solutions generated by an algorithm.")]
    3131  [StorableClass]
    32   [NonDiscoverableType]
    33   public abstract class SolutionCache<TKey, TValue> : Item
     32  public abstract class SolutionCache<TKey, TValue> : Problem, ISolutionCache
    3433    where TKey : Item
    3534    where TValue : SolutionInformation<TKey> {
     35
     36    #region IStorableContent Members
     37    public string Filename { get; set; }
     38    #endregion
    3639
    3740    [Storable]
     
    5255      InitializeSolutionDictionary();
    5356
    54       foreach (KeyValuePair<TKey, List<TValue>> keyValuePair in solutionDictionary) {
     57      foreach (KeyValuePair<TKey, List<TValue>> keyValuePair in original.solutionDictionary) {
    5558        List<TValue> lst = new List<TValue>();
    5659        foreach (TValue value in keyValuePair.Value) {
Note: See TracChangeset for help on using the changeset viewer.