Class TTAnalysisTrip
- java.lang.Object
-
- playground.vsp.analysis.modules.ptTripAnalysis.AbstractAnalysisTrip
-
- playground.vsp.analysis.modules.ptTripAnalysis.traveltime.TTAnalysisTrip
-
- All Implemented Interfaces:
TTAnalysisTripI
public class TTAnalysisTrip extends AbstractAnalysisTrip implements TTAnalysisTripI
- Author:
- droeder
-
-
Field Summary
Fields Modifier and Type Field Description int
accesWaitCnt
double
accesWaitTime
int
accesWalkCnt
double
accesWalkTTime
int
egressWalkCnt
double
egressWalkTTime
int
lineCnt
double
lineTTime
int
switchWaitCnt
double
switchWaitTime
int
switchWalkCnt
double
switchWalkTTime
double
tripTTime
-
Constructor Summary
Constructors Constructor Description TTAnalysisTrip(Collection<String> ptModes, Collection<String> networkModes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addElements(ArrayList<org.matsim.api.core.v01.population.PlanElement> elements)
int
getAccesWaitCnt()
double
getAccesWaitTime()
int
getAccesWalkCnt()
double
getAccesWalkTTime()
int
getEgressWalkCnt()
double
getEgressWalkTTime()
int
getLineCnt()
double
getLineTTime()
Integer
getNrOfElements()
int
getSwitchWaitCnt()
double
getSwitchWaitTime()
int
getSwitchWalkCnt()
double
getSwitchWalkTTime()
Double
getTripTTime()
boolean
handleEvent(org.matsim.api.core.v01.events.Event e)
returns true if enough events are handled and the trip is finished
-
-
-
Field Detail
-
tripTTime
public double tripTTime
-
accesWalkCnt
public int accesWalkCnt
-
accesWaitCnt
public int accesWaitCnt
-
egressWalkCnt
public int egressWalkCnt
-
switchWalkCnt
public int switchWalkCnt
-
switchWaitCnt
public int switchWaitCnt
-
lineCnt
public int lineCnt
-
accesWalkTTime
public double accesWalkTTime
-
accesWaitTime
public double accesWaitTime
-
egressWalkTTime
public double egressWalkTTime
-
switchWalkTTime
public double switchWalkTTime
-
switchWaitTime
public double switchWaitTime
-
lineTTime
public double lineTTime
-
-
Constructor Detail
-
TTAnalysisTrip
public TTAnalysisTrip(Collection<String> ptModes, Collection<String> networkModes)
-
-
Method Detail
-
addElements
public void addElements(ArrayList<org.matsim.api.core.v01.population.PlanElement> elements)
-
getNrOfElements
public Integer getNrOfElements()
-
handleEvent
public boolean handleEvent(org.matsim.api.core.v01.events.Event e)
returns true if enough events are handled and the trip is finished- Parameters:
e
-- Returns:
-
getTripTTime
public Double getTripTTime()
- Returns:
- the tripTTime
-
getAccesWalkCnt
public int getAccesWalkCnt()
- Returns:
- the accesWalkCnt
-
getAccesWaitCnt
public int getAccesWaitCnt()
- Returns:
- the accesWaitCnt
-
getEgressWalkCnt
public int getEgressWalkCnt()
- Returns:
- the egressWalkCnt
-
getSwitchWalkCnt
public int getSwitchWalkCnt()
- Returns:
- the switchWalkCnt
-
getSwitchWaitCnt
public int getSwitchWaitCnt()
- Returns:
- the switchWaitCnt
-
getLineCnt
public int getLineCnt()
- Returns:
- the lineCnt
-
getAccesWalkTTime
public double getAccesWalkTTime()
- Returns:
- the accesWalkTTime
-
getAccesWaitTime
public double getAccesWaitTime()
- Returns:
- the accesWaitTime
-
getEgressWalkTTime
public double getEgressWalkTTime()
- Returns:
- the egressWalkTTime
-
getSwitchWalkTTime
public double getSwitchWalkTTime()
- Returns:
- the switchWalkTTime
-
getSwitchWaitTime
public double getSwitchWaitTime()
- Returns:
- the switchWaitTime
-
getLineTTime
public double getLineTTime()
- Returns:
- the lineTTime
-
-