MATSIM
AgentSnapshotInfo.java
Go to the documentation of this file.
1 /* *********************************************************************** *
2  * project: org.matsim.*
3  * *
4  * *********************************************************************** *
5  * *
6  * copyright : (C) 2010 by the members listed in the COPYING, *
7  * LICENSE and WARRANTY file. *
8  * email : info at matsim dot org *
9  * *
10  * *********************************************************************** *
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * See also COPYING, LICENSE and WARRANTY file *
17  * *
18  * *********************************************************************** */
19 
20 package org.matsim.vis.snapshotwriters;
21 
22 import org.matsim.api.core.v01.Id;
25 import org.matsim.vehicles.Vehicle;
26 
27 public interface AgentSnapshotInfo {
28 
29  String marker = "marker";
30 
31  // !!! WARNING: The enum list can only be extended. Making it shorter or changing the sequence of existing elements
32  // will break the otfvis binary channel, meaning that *.mvi files generated until then will become weird. kai, jan'10
33  enum AgentState { PERSON_AT_ACTIVITY, PERSON_DRIVING_CAR, PERSON_OTHER_MODE, TRANSIT_DRIVER, MARKER }
34  // !!! WARNING: See comment above this enum.
35 
36  enum DrivingState { NOT_DRIVING, FREE_FLOW, CONGESTED }
37 
38  Id<Person> getId() ;
39 
41 
43 
45 
46  double getEasting();
47 
48  double getNorthing();
49 
50  @Deprecated
51  double getAzimuth();
52 
54 
56 
57  int getUserDefined() ;
58 
59 }