Skip to content

faq 88440917

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

How to read waitingForPt events

by Rolando Armas on 2016-10-11 08:53:22


Hi MATSim Friends,

To compute the waiting times for a public transit scenario, I would like to implement an event handler by using the formula suggested in e.d. waitingTime=PersonEntersVehicle - waitingForPt.

However, I can not find the event "waitingForPt" into org.matsim.api.core.v01.events.*

How can I read  "waitingForPt", implementing an event handler?

Regards,

Rolando.



Comments: 1


Re: How to read waitingForPt events

by Marcel Rieser on 2016-10-11 10:16:02

Hi Rolando

It looks like the corresponding event handler hides at org.matsim.core.api.experimental.events.handler.AgentWaitingForPtEventHandler.

Cheers, Marcel

Clone this wiki locally