Free cookie consent management tool by TermsFeed Policy Generator

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

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

#1888:

  • Model: OptimizationScenario may be a tree of algorithms (and problems)
  • Model: Renamed InputParameters to ProblemParameters (as they are the parameters of a problem)
  • Model: Added JobExecutionDetails which contain Repetitions + Group (resource to use)
  • ScenarioParser parses the new XML scenario files
  • Website + Model: You are now able to add/remove rows from a table (no JavaScript involved yet)
  • Website + Controller: Added repetitions (enables batch jobs) and group (resource to use) to OaaS which will be used by the controller to schedule the job
  • Website: Updated templates to use new model structure
  • Website + Scenarios: Added the new algorithm Benchmark Algorithm
  • Controller: Added a singleton to make the (Azure/Mockup)-DAL exchangeable
  • Controller: Added mockup classes for DAL + IScenarioManager
  • Website/Result Page: Line Diagrams will be added via JavaScript, crawling their data using AJAX
  • Website: Most configuration parameters can be set in the ServiceDefinition directly
  • Added a mockup for the Membership classes: These can be used if no network connection is available or if other parts of the app shall be tested
  • Scenarios: Updated TSP mappings to new xsd
File size: 1.9 KB
Line 
1<?xml version='1.0'?>
2<scenario xmlns="urn:scenario-schema">
3  <name>Traveling Salesman Problem</name>
4  <algorithm mapper="HeuristicLab.Mappers.TSPScenarioMapper">
5    <parameters>
6    <param type="Type" name="CrossoverParameter">
7      <choice name="OrderCrossover2"/>
8      <choice name="CosaCrossover" selected="true"/>
9    </param>   
10    <param type="Integer" name="Elites" value="1"/>
11    <param type="Integer" name="MaximumGenerations" value="1000"/>
12    <param type="Percent" name="MutationProbability" value="5"/>
13    <param type="Type" name="Mutator">
14      <choice name="InversionManipulator" selected="true"/>
15      <choice name="ScrambleManipulator"/>
16    </param>
17    <param type="Integer" name="PopulationSize" value="100"/>
18    <param type="Integer" name="Seed" value="100"/>
19    <param type="Type" name="Selector">
20      <choice name="ProportionalSelector" selected="true"/>
21      <choice name="BestSelector"/>
22    </param>
23    <param type="Boolean" name="SetSeedRandomly" value="true"/>
24    </parameters>
25  <problem>
26    <parameters>
27      <param type="Decimal" name="BestKnownQuality" value="6110.0"/>
28      <param type="DecimalVector" name="BestKnownSolution">
29        <value v1="0"/>
30        <value v1="40"/>
31        <value v1="38"/>
32        <value v1="60"/>
33      </param>
34      <param type="DecimalMatrix" name="Coordinates">
35        <value v1="334.5909" v2="161.7809"/>
36        <value v1="503.5909" v2="172.7809"/>
37        <value v1="400.5909" v2="300.7809"/>
38        <value v1="700.5909" v2="700.7809"/>
39      </param>
40      <param type="Type" name="EvaluatorParameter">
41        <choice name="HeuristicLab.Problems.TravelingSalesman.TSPRoundedEuclideanPathEvaluator" />
42        <choice name="HeuristicLab.Problems.TravelingSalesman.TSPGeoPathEvaluator" selected="true"/>
43        <choice name="HeuristicLab.Problems.TravelingSalesman.TSPEuclideanPathEvaluator"/>
44      </param>   
45      <param type="Boolean" name="UseDistanceMatrix" value="true"/>
46    </parameters>
47  </problem>
48  </algorithm>
49</scenario>
Note: See TracBrowser for help on using the repository browser.