Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.ControllerService.Tests/mappings/mapping.tsp.xml @ 8978

Last change on this file since 8978 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: 1.2 KB
RevLine 
[8817]1<?xml version="1.0" encoding="utf-8" ?>
2<!-- for testing resource reading-->
3<otis-mapping xmlns="urn:otis-mapping-1.0">
4  <!--corlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089-->
5  <!--DoubleValue, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec-->
6    <class name="HeuristicLab.Data.DoubleValue, HeuristicLab.Data-3.3" source="System.Double, mscorlib">
7    <member name="Value" expression="source"/>
8  </class>
9    <!--, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec-->
10  <!--, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null-->
11  <class name="HeuristicLab.Problems.TravelingSalesman.TravelingSalesmanProblem, HeuristicLab.Problems.TravelingSalesman-3.3" source="HeuristicLab.Services.Optimization.ControllerService.Model.OptimizationScenario, HeuristicLab.Services.Optimization.ControllerService" >
12    <!--member name="BestKnownQuality" expression="[$InputParameters.FindDoubleValue('BestKnownQuality')]"/-->
13    <member name="BestKnownQuality" expression="[HeuristicLab.Services.Optimization.ControllerService.Model.HiveMapper.FindDoubleValue($InputParameters, 'BestKnownQuality')]"/>
14  </class>
15 
16</otis-mapping>
Note: See TracBrowser for help on using the repository browser.