Free cookie consent management tool by TermsFeed Policy Generator

Changeset 10723 for branches


Ignore:
Timestamp:
04/04/14 09:56:44 (11 years ago)
Author:
bburlacu
Message:

#1837: Added missing SlidingWindowBestSolutionsCollectionHeatMapView files, fixed heatmap orientation.

Location:
branches/Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Views-3.4.csproj

    r10722 r10723  
    217217    </Compile>
    218218    <Compile Include="Plugin.cs" />
     219    <Compile Include="SlidingWindowBestSolutionsCollectionHeatMapView.cs">
     220      <SubType>UserControl</SubType>
     221    </Compile>
     222    <Compile Include="SlidingWindowBestSolutionsCollectionHeatMapView.Designer.cs">
     223      <DependentUpon>SlidingWindowBestSolutionsCollectionHeatMapView.cs</DependentUpon>
     224    </Compile>
    219225    <Compile Include="SlidingWindowBestSolutionsCollectionHeatMapControl.cs">
    220226      <SubType>UserControl</SubType>
     
    222228    <Compile Include="SlidingWindowBestSolutionsCollectionHeatMapControl.Designer.cs">
    223229      <DependentUpon>SlidingWindowBestSolutionsCollectionHeatMapControl.cs</DependentUpon>
    224     </Compile>
    225     <Compile Include="SlidingWindowBestSolutionsCollectionHeatMapView.cs">
    226       <SubType>UserControl</SubType>
    227     </Compile>
    228     <Compile Include="SlidingWindowBestSolutionsCollectionHeatMapView.Designer.cs">
    229       <DependentUpon>SlidingWindowBestSolutionsCollectionHeatMapView.cs</DependentUpon>
    230230    </Compile>
    231231    <Compile Include="SlidingWindowBestSolutionsCollectionView.cs">
     
    349349  <ItemGroup>
    350350    <Folder Include="Exporters\" />
    351   </ItemGroup>
    352   <ItemGroup>
    353     <EmbeddedResource Include="SlidingWindowBestSolutionsCollectionView.resx">
    354       <DependentUpon>SlidingWindowBestSolutionsCollectionView.cs</DependentUpon>
    355     </EmbeddedResource>
    356351  </ItemGroup>
    357352  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  • branches/Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/SlidingWindowBestSolutionsCollectionHeatMapControl.cs

    r10722 r10723  
    3131
    3232namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Views {
    33   [View("Sliding Window Best Solutions HeatMap View")]
     33  [View("Sliding Window Best Solutions HeatMap Control")]
    3434  [Content(typeof(SlidingWindowBestSolutionsCollection), false)]
    3535  public partial class SlidingWindowBestSolutionsCollectionHeatMapControl : ItemView {
     
    108108        }
    109109      }
    110       int rows = values.GetLength(0);
    111       int cols = values.GetLength(1);
    112       var flipped = new double[rows, cols];
    113       for (int i = 0; i < rows; ++i) {
    114         for (int j = 0; j < cols; ++j) {
    115           flipped[i, j] = values[rows - i - 1, j];
    116         }
    117       }
    118       heatMapView.Content = new HeatMap(flipped, "Best Sliding Window Solutions", min, max);
     110
     111      heatMapView.Content = new HeatMap(values, string.Empty, min, max);
    119112    }
    120113
Note: See TracChangeset for help on using the changeset viewer.