Svenska Not logged in: Log in | Register

2024-04-06:

Exempels

Updated: 2024-04-06

The following reference example shows how an XML file defining a qualification/final scheme might look. You can copy the text and save in a file that you name schema.xml and then can load into MeOS. Of course, you may just as well create the scheme directly in the scheme editor.

Example 1

The following example shows how an XML defining a qualification scheme. You can copy the text and paste it in a file named scheme.xml, which you can load into MeOS.

<?xml version="1.0" encoding="UTF-8"?>

<QualificationRules>
  <Level>
  <Class Name="Qualification heat" id="1"/>
  </Level>

  <Level>
  <Class Name="Semi A" id="2">
    <Qualification place="1" id="1"/>
    <Qualification place="3" id="1"/>
    <Qualification place="5" id="1"/>
    <Qualification place="7" id="1"/>
  </Class>

  <Class Name="Semi B" id="3">
    <Qualification place="2" id="1"/>
    <Qualification place="4" id="1"/>
    <Qualification place="6" id="1"/>
    <Qualification place="8" id="1"/>
  </Class>
  </Level>

  <Level>
  <Class Name="Final" id="4">
    <Qualification place="1" id="2"/>
    <Qualification place="1" id="3"/>
    <Qualification place="2" id="2"/>
    <Qualification place="2" id="3"/>
  </Class>
  </Level>
</QualificationRules>

The example defines a single Qualification heat (id = 1). Runners with places 1, 3, 5, or 7 go to Semi A (id = 2). Runners with places 2, 4, 6, or 8. go to Semi B (id = 3). The Final is setup with the two best runners from each semi final. If the second place is shared in one semi final, three (or more) runners that Semi final will go to the final.

Example 2

<?xml version="1.0" encoding="UTF-8"?>

<QualificationRules>
  <Level distribution="Ranking">
    <Class Name="Qualification heat A" id="1"/>
    <Class Name="Qualification heat B" id="2"/>
  </Level>

  <Level distribution="Ranking">
    <Class Name="Semi A" id="3">
      <Qualification place="1" id="1"/>
      <Qualification place="2" id="1"/>
      <Qualification place="3" id="1"/>
      <Qualification place="4" id="1"/>
    </Class>

    <Class Name="Semi B" id="4">
      <Qualification place="1" id="2"/>
      <Qualification place="2" id="2"/>
      <Qualification place="3" id="2"/>
      <Qualification place="4" id="2"/>
    </Class>
  </Level>

  <Level>
    <Class Name="Final" id="5">
      <Qualification place="1" id="3"/>
      <Qualification place="1" id="4"/>
      <Qualification place="2" id="3"/>
      <Qualification place="2" id="4"/>
    </Class>
  </Level>
</QualificationRules>

There are two qualification heats. If ranking data is available when the qualification scheme is loaded, it is used to split the runners among the heats. Otherwise you can use the functionality Split Class to make a new distribution manually. The semifinal level also has a ranking distribution, meaning that the distribution among the semi finals is not actually determined by the qualification result, but instead by ranking. The qualification result is only used to determine who is qualified.
To post a comment, you need to log in.