<ttm version="0.2.0">
<modules>
...
</modules>
<resources>
<!-- Resources that are assigned by hand -->
<constants>
<resourcetype type="teacher">
<!-- Each resource can be defined individually -->
<resource name="john"/>
<resource name="albert">
<restriction type="capability-place">lab</restriction>
</resource>
</resourcetype>
<resourcetype type="class">
<resource name="1 a"/>
<resource name="2 a"/>
<resource name="3 a">
<restriction type="example">xxx</restriction>
</resource>
</resourcetype>
</constants>
<!-- Resources that are assigned by the genetic algorithm -->
<variables>
<resourcetype type="time">
<!-- A matrix of 35 resources defined with a single tag -->
<!-- 5 days with 7 timeslots each. -->
<matrix width="5" height="7"/>
</resourcetype>
<resourcetype type="room">
<resource name="gym"/>
<resource name="lab">
<restriction type="capability-place">lab</restriction>
</resource>
<!-- A row of 10 resources defined with a single tag -->
<linear from="1" to="10"/>
</resourcetype>
</variables>
</resources>
<events>
<event name="mathematics" repeats="1">
<resource type="teacher" name="john"/>
<resource type="class" name="1 a"/>
<restriction type="example">xxx</restriction>
</event>
</events>
</ttm>