Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.Web/Views/Shared/DisplayTemplates/DecimalMatrix.cshtml @ 8817

Last change on this file since 8817 was 8817, checked in by fschoepp, 12 years ago

#1888:

  • Added a parser for independent scenarios (using the model of the optimization backend)
  • Optimization scenario sample can be found in mappings folder of the web project.
  • Added IScenarioMapper interface which provides functionality to map from the optimization data model to a backend model (e.g. Heuristic Lab data model)
  • Implementations of IScenarioMapper have to be provided as C# code (strings) which will be compiled by using a CSharpCodeProvider. Once compiled, the implementations of the IScenarioMapper are being cached within the platform for further usage.
  • Fixed a bug in web template DecimalMatrix (using i instead of j)
  • Added missing thumprint of localhost certificate to the optimization web project (ServiceConfiguration.Local.cscfg / ServiceConfiguration.Cloud.cscfg)
  • Test project now provides following test cases: Mapping types using IronPython and mapping types using Otis
File size: 354 bytes
Line 
1@model HeuristicLab.Services.Optimization.ControllerService.Model.DecimalMatrix
2
3<table>
4  <tr>
5    <th>@Model.Name</th>
6  </tr>
7  @for (int i = 0; i < Model.Value.Length; i++) {
8  <tr>
9    @for (int j = 0; j < Model.Value[i].Length; j++) {                     
10    <td>
11      @Model.Value[i][j]
12    </td>
13    }
14  </tr>
15  }
16</table>
Note: See TracBrowser for help on using the repository browser.