baumfalk / TrafficMAS

TrafficMAS, the code
MIT License
0 stars 0 forks source link

Organisations get sensor subset #20

Closed Maxic closed 9 years ago

Maxic commented 9 years ago

Every organisation should have its own set of sensors from which it observes.

Maxic commented 9 years ago
<organisations>
    <organisation id="org1">
        <sensors>
            <sensor id="A28_350_lane0_s1" />
            <sensor id="A28_350_lane0_s2" />
        </sensors>
        <norms>
            <norm id="maxspeed"/>
        </norms>
    </organisation>
</organisations>

Implemented, the list of sensors is read from the XML file which is used to instantiate the organisations.