MATSIM
Public Member Functions | List of all members
org.matsim.vis.snapshotwriters.VisMobsim Interface Reference
Inheritance diagram for org.matsim.vis.snapshotwriters.VisMobsim:
Inheritance graph
[legend]

Public Member Functions

VisNetwork getVisNetwork ()
 
Map< Id< Person >, MobsimAgentgetAgents ()
 
VisData getNonNetworkAgentSnapshots ()
 
void addQueueSimulationListeners (final MobsimListener listener)
 
void run ()
 

Detailed Description

Author
nagel

Definition at line 36 of file VisMobsim.java.

Member Function Documentation

◆ getVisNetwork()

VisNetwork org.matsim.vis.snapshotwriters.VisMobsim.getVisNetwork ( )

◆ getAgents()

Map<Id<Person>, MobsimAgent> org.matsim.vis.snapshotwriters.VisMobsim.getAgents ( )

Returns mobsim agents, for visualization. Open questions:

  • There is, at this point, no contract with respect to completeness of this function (i.e. what is contained and what not).
  • This might be better as a Map. However, as a Map all objects need to have an Id. And the Id needs to be unique, since java does not have multi-maps. Which means that we come back to the question of what should be in here and what not. For that reason, it is just a Collection.

kai, aug'10

changed to Map for that works better with queries in OTFVis

Implemented in org.matsim.core.mobsim.qsim.QSim.

◆ getNonNetworkAgentSnapshots()

VisData org.matsim.vis.snapshotwriters.VisMobsim.getNonNetworkAgentSnapshots ( )

Returns a view of all agents to be visualized which are not on the VisNetwork. In the standard QSim, these are the teleporting agents.

Implemented in org.matsim.core.mobsim.qsim.QSim.

◆ addQueueSimulationListeners()

void org.matsim.core.mobsim.framework.ObservableMobsim.addQueueSimulationListeners ( final MobsimListener  listener)
inherited

◆ run()

void org.matsim.core.mobsim.framework.Mobsim.run ( )
inherited

Start the mobility simulation

Implemented in org.matsim.core.mobsim.qsim.QSim.


The documentation for this interface was generated from the following file: