Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/04/13 17:24:46 (11 years ago)
Author:
ascheibe
Message:

#1886

  • removed old caching code
  • adapted convex hull view and some other minor improvements
Location:
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3/ConvexHullView.cs

    r10007 r10026  
    2222using System;
    2323using System.Linq;
    24 using System.Windows.Forms;
     24using HeuristicLab.Analysis.SolutionCaching.PermutationEncoding;
    2525using HeuristicLab.Core.Views;
    2626using HeuristicLab.Encodings.PermutationEncoding;
    2727using HeuristicLab.MainForm;
    28 using HeuristicLab.MainForm.WindowsForms;
    2928
    3029namespace HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views {
    3130  [View("ConvexHull View")]
    32   [Content(typeof(PermutationSolutionDictionary), false)]
     31  [Content(typeof(PermutationSolutionCache), false)]
    3332  public partial class ConvexHullView : ItemView {
    3433    public ConvexHullView() {
     
    3635    }
    3736
    38     public new PermutationSolutionDictionary Content {
    39       get { return (PermutationSolutionDictionary)base.Content; }
     37    public new PermutationSolutionCache Content {
     38      get { return (PermutationSolutionCache)base.Content; }
    4039      set { base.Content = value; }
    4140    }
     
    5150        var sols = Content.GetSolutionsFromGeneration(i);
    5251
    53         var input = sols.Select(x => ConvertPermutationToVertex(x.GetPermutation())).ToArray();
     52        var input = sols.Select(x => ConvertPermutationToVertex(x)).ToArray();
    5453        var convexHull = HyperHull.CalculateUsingSMO(input);
    5554        resultsTextBox.Text += "Nr. of Points in Generation " + i + ": " + convexHull.Count + Environment.NewLine;
  • branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views-3.3.csproj

    r9945 r10026  
    145145      <DependentUpon>ParameterInfluenceView.cs</DependentUpon>
    146146    </Compile>
    147     <Compile Include="PermutationSolutionDictionaryView.cs">
    148       <SubType>UserControl</SubType>
    149     </Compile>
    150     <Compile Include="PermutationSolutionDictionaryView.Designer.cs">
    151       <DependentUpon>PermutationSolutionDictionaryView.cs</DependentUpon>
    152     </Compile>
    153147    <Compile Include="Plugin.cs" />
    154148    <Compile Include="Properties\AssemblyInfo.cs" />
     
    171165      <Name>HeuristicLab.Analysis.AlgorithmBehavior.Analyzers-3.3</Name>
    172166      <Private>False</Private>
     167    </ProjectReference>
     168    <ProjectReference Include="..\..\HeuristicLab.Analysis.SolutionCaching.Views\3.3\HeuristicLab.Analysis.SolutionCaching.Views-3.3.csproj">
     169      <Project>{3977f98a-3d59-4d02-a6d3-51021bceb488}</Project>
     170      <Name>HeuristicLab.Analysis.SolutionCaching.Views-3.3</Name>
     171    </ProjectReference>
     172    <ProjectReference Include="..\..\HeuristicLab.Analysis.SolutionCaching\3.3\HeuristicLab.Analysis.SolutionCaching-3.3.csproj">
     173      <Project>{a05aa272-14ec-4422-ac70-c9ca42164441}</Project>
     174      <Name>HeuristicLab.Analysis.SolutionCaching-3.3</Name>
    173175    </ProjectReference>
    174176    <ProjectReference Include="..\..\MIConvexHull\MIConvexHull.csproj">
Note: See TracChangeset for help on using the changeset viewer.