- Timestamp:
- 04/04/14 09:56:44 (11 years ago)
- 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 217 217 </Compile> 218 218 <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> 219 225 <Compile Include="SlidingWindowBestSolutionsCollectionHeatMapControl.cs"> 220 226 <SubType>UserControl</SubType> … … 222 228 <Compile Include="SlidingWindowBestSolutionsCollectionHeatMapControl.Designer.cs"> 223 229 <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>230 230 </Compile> 231 231 <Compile Include="SlidingWindowBestSolutionsCollectionView.cs"> … … 349 349 <ItemGroup> 350 350 <Folder Include="Exporters\" /> 351 </ItemGroup>352 <ItemGroup>353 <EmbeddedResource Include="SlidingWindowBestSolutionsCollectionView.resx">354 <DependentUpon>SlidingWindowBestSolutionsCollectionView.cs</DependentUpon>355 </EmbeddedResource>356 351 </ItemGroup> 357 352 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> -
branches/Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/SlidingWindowBestSolutionsCollectionHeatMapControl.cs
r10722 r10723 31 31 32 32 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Views { 33 [View("Sliding Window Best Solutions HeatMap View")]33 [View("Sliding Window Best Solutions HeatMap Control")] 34 34 [Content(typeof(SlidingWindowBestSolutionsCollection), false)] 35 35 public partial class SlidingWindowBestSolutionsCollectionHeatMapControl : ItemView { … … 108 108 } 109 109 } 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); 119 112 } 120 113
Note: See TracChangeset
for help on using the changeset viewer.