Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Ahem. When exactly did I kill my good examples?
[simgrid.git] / examples / mutualExclusion / ring3.xml
1 <?xml version='1.0'?>
2 <!DOCTYPE platform SYSTEM "simgrid.dtd">
3 <platform version="2">
4   <host id="Host 0" power="1.0E9" />
5   <host id="Host 1" power="1.0E9" />
6   <host id="Host 2" power="1.0E9" />
7
8   <link id="l0" bandwidth="1.25E8" latency="1.0E-4" />
9   <link id="l1" bandwidth="1.25E8" latency="1.0E-4" />
10   <link id="l2" bandwidth="1.25E8" latency="1.0E-4" />
11
12   <route src="Host 0" dst="Host 1">
13     <link:ctn id="l0"/>
14   </route>
15
16   <route src="Host 0" dst="Host 2">
17     <link:ctn id="l1"/>
18   </route>
19
20   <route src="Host 1" dst="Host 0">
21     <link:ctn id="l0"/>
22   </route>
23
24   <route src="Host 1" dst="Host 2">
25     <link:ctn id="l2"/>
26   </route>
27
28   <route src="Host 2" dst="Host 0">
29     <link:ctn id="l1"/>
30   </route>
31
32   <route src="Host 2" dst="Host 1">
33     <link:ctn id="l2"/>
34   </route>
35
36 </platform>
37