public class AddTripPattern extends Modification
Modifier and Type | Class and Description |
---|---|
static class |
AddTripPattern.PatternTimetable
a class representing a minimal timetable
|
static class |
AddTripPattern.TemporaryStop
A class representing a stop temporarily in the graph
|
Modifier and Type | Field and Description |
---|---|
com.vividsolutions.jts.geom.LineString |
geometry
The geometry of this pattern
|
static org.slf4j.Logger |
LOG |
int |
mode
GTFS mode (route_type), see constants in com.conveyal.gtfs.model.Route
|
String |
name
The name of this pattern
|
static long |
serialVersionUID |
BitSet |
stops
What coordinate indices should be stops
|
AddTripPattern.TemporaryStop[] |
temporaryStops
used to store the indices of the temporary stops in the graph
|
Collection<AddTripPattern.PatternTimetable> |
timetables
The timetables for this trip pattern
|
warnings
Constructor and Description |
---|
AddTripPattern() |
Modifier and Type | Method and Description |
---|---|
String |
getType()
Distinguish between modification types when a list of Modifications are serialized out as JSON.
|
void |
materialize(Graph graph)
Create temporary stops associated with the given graph.
|
setType
public static final long serialVersionUID
public static final org.slf4j.Logger LOG
public String name
public com.vividsolutions.jts.geom.LineString geometry
public BitSet stops
public Collection<AddTripPattern.PatternTimetable> timetables
public transient AddTripPattern.TemporaryStop[] temporaryStops
public int mode
public void materialize(Graph graph)
public String getType()
Modification
getType
in class Modification
Copyright © 2018. All rights reserved.