Free cookie consent management tool by TermsFeed Policy Generator

source: branches/OaaS/HeuristicLab.Services.Optimization.Web/Mappings/scenario.xsd @ 9922

Last change on this file since 9922 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: 2.0 KB
Line 
1<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2    xmlns="urn:scenario-schema"
3    elementFormDefault="qualified"
4    targetNamespace="urn:scenario-schema">
5
6 <xsd:element name="scenario" type="scenarioType"/>
7
8 <xsd:complexType name="scenarioType">
9  <xsd:sequence maxOccurs="1">   
10   <xsd:element name="name" minOccurs="1" type="xsd:string"/>   
11   <xsd:element name="algorithm" minOccurs="1" maxOccurs="unbounded" type="algorithmType"/>   
12  </xsd:sequence> 
13 </xsd:complexType>
14
15<xsd:complexType name="algorithmType">
16  <xsd:sequence maxOccurs="1">
17  <xsd:element name="parameters" type="paramsType"/>
18  <xsd:element name="problem" minOccurs="0" type="problemType"/> 
19  <xsd:element name="algorithm" minOccurs="0" maxOccurs="unbounded" type="algorithmType"/>   
20  </xsd:sequence> 
21  <xsd:attribute name="mapper" use="required"/>   
22</xsd:complexType>
23
24<xsd:complexType name="problemType">
25  <xsd:sequence maxOccurs="1">
26  <xsd:element name="parameters" type="paramsType"/> 
27  </xsd:sequence> 
28  <xsd:attribute name="class"/>
29</xsd:complexType>
30
31 <xsd:complexType name="paramsType">
32  <xsd:sequence>
33   <xsd:element name="param" type="parameterType" minOccurs="0" maxOccurs="unbounded"/>     
34  </xsd:sequence> 
35 </xsd:complexType>
36
37 <xsd:complexType name="parameterType">
38  <xsd:choice>
39   <xsd:element name="value" type="valueType" minOccurs="0" maxOccurs="unbounded"/>
40   <xsd:element name="choice" type="choiceType" minOccurs="0" maxOccurs="unbounded"/>     
41  </xsd:choice>
42  <xsd:attribute name="type" type="xsd:string" use="required"/>
43  <xsd:attribute name="name" type="xsd:string" use="required"/>
44  <xsd:attribute name="value" type="xsd:string"/>
45 </xsd:complexType>
46 
47 <xsd:complexType name="choiceType">   
48  <xsd:attribute name="name" type="xsd:string" use="required"/>
49  <xsd:attribute name="selected" type="xsd:string"/>
50 </xsd:complexType>
51 
52 <xsd:complexType name="valueType">
53  <xsd:attribute name="v1" type="xsd:string"/>
54  <xsd:attribute name="v2" type="xsd:string"/>
55 </xsd:complexType>
56
57</xsd:schema>
Note: See TracBrowser for help on using the repository browser.