faq 280854533 - matsim-org/matsim-code-examples GitHub Wiki
by Ecaterina McCormick on 2018-05-22 13:18:14
The Matsim output plans file contains for pt leg mode route type experimentalPt1.
<leg mode="pt" trav_time="00:16:46">
<route type="experimentalPt1" start_link="1704" end_link="pt_482" trav_time="00:16:46" distance="5842.714722605181">PT1===0100BRP90033.link:1704===line71===route71===017000014.link:pt_482
</route>
</leg>
Can anybody explain please what is experimentalPt1?
Thank you,
Ecaterina
by Kai Nagel on 2018-05-22 18:10:07
That is what it was called initially, and then never changed. :-). When MATSim reads the xml file, it needs to convert the xml elements from the file into Java objects, and it uses this information to generate the correct object type (some implementation of Route
) .