MATSIM
vis
snapshotwriters
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
;
23
import
org
.
matsim
.
api
.
core
.
v01
.
network
.
Link
;
24
import
org
.
matsim
.
api
.
core
.
v01
.
population
.
Person
;
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
40
Id<Vehicle>
getVehicleId
();
41
42
Id<Link>
getLinkId
();
43
44
DrivingState
getDrivingState
();
45
46
double
getEasting
();
47
48
double
getNorthing
();
49
50
@Deprecated
51
double
getAzimuth
();
52
53
double
getColorValueBetweenZeroAndOne
();
54
55
AgentState
getAgentState
();
56
57
int
getUserDefined
() ;
58
59
}
org.matsim.api.core.v01.network
Definition:
Link.java:20
org.matsim.api.core.v01.Id
Definition:
Id.java:44
org.matsim.vis.snapshotwriters.AgentSnapshotInfo.getColorValueBetweenZeroAndOne
double getColorValueBetweenZeroAndOne()
org.matsim.vis.snapshotwriters.AgentSnapshotInfo
Definition:
AgentSnapshotInfo.java:27
org.matsim.vis.snapshotwriters.AgentSnapshotInfo.getAgentState
AgentState getAgentState()
org.matsim.vis.snapshotwriters.AgentSnapshotInfo.getEasting
double getEasting()
org.matsim.api.core.v01.population
Definition:
Activity.java:21
org.matsim.vis.snapshotwriters.AgentSnapshotInfo.marker
String marker
Definition:
AgentSnapshotInfo.java:29
org
org.matsim.vis.snapshotwriters.AgentSnapshotInfo.getNorthing
double getNorthing()
org.matsim.vis.snapshotwriters.AgentSnapshotInfo.AgentState
Definition:
AgentSnapshotInfo.java:33
org.matsim.vis.snapshotwriters.AgentSnapshotInfo.getUserDefined
int getUserDefined()
org.matsim.vis.snapshotwriters.AgentSnapshotInfo.getLinkId
Id< Link > getLinkId()
org.matsim.api
org.matsim.vehicles.Vehicle
Definition:
Vehicle.java:28
org.matsim.vehicles
Definition:
CostInformation.java:19
org.matsim.vis.snapshotwriters.AgentSnapshotInfo.getAzimuth
double getAzimuth()
org.matsim.api.core
org.matsim.vis.snapshotwriters.AgentSnapshotInfo.AgentState.TRANSIT_DRIVER
TRANSIT_DRIVER
Definition:
AgentSnapshotInfo.java:33
org.matsim.vis.snapshotwriters.AgentSnapshotInfo.DrivingState.NOT_DRIVING
NOT_DRIVING
Definition:
AgentSnapshotInfo.java:36
org.matsim.vis.snapshotwriters.AgentSnapshotInfo.DrivingState
Definition:
AgentSnapshotInfo.java:36
org.matsim
org.matsim.api.core.v01.network.Link
Definition:
Link.java:34
org.matsim.api.core.v01.population.Person
Definition:
Person.java:28
org.matsim.vis.snapshotwriters.AgentSnapshotInfo.getId
Id< Person > getId()
org.matsim.api.core.v01
Definition:
BasicLocation.java:20
org.matsim.vis.snapshotwriters.AgentSnapshotInfo.getVehicleId
Id< Vehicle > getVehicleId()
org.matsim.vis.snapshotwriters.AgentSnapshotInfo.getDrivingState
DrivingState getDrivingState()
Generated by
1.8.13