-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db24718
commit ac6941f
Showing
14 changed files
with
238 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 0 additions & 10 deletions
10
core/src/main/java/org/hisrc/gtfs/graph/model/edge/ArrivalDepartureEdge.java
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
core/src/main/java/org/hisrc/gtfs/graph/model/edge/BoardEdge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package org.hisrc.gtfs.graph.model.edge; | ||
|
||
public class BoardEdge extends TransitionEdge { | ||
|
||
public BoardEdge() { | ||
super(0); | ||
} | ||
} |
10 changes: 0 additions & 10 deletions
10
core/src/main/java/org/hisrc/gtfs/graph/model/edge/DepartureArrivalEdge.java
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
core/src/main/java/org/hisrc/gtfs/graph/model/edge/RideEdge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package org.hisrc.gtfs.graph.model.edge; | ||
|
||
|
||
public class RideEdge extends TransitionEdge { | ||
|
||
public RideEdge(int cost) { | ||
super(cost); | ||
} | ||
|
||
} |
10 changes: 10 additions & 0 deletions
10
core/src/main/java/org/hisrc/gtfs/graph/model/edge/StayEdge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package org.hisrc.gtfs.graph.model.edge; | ||
|
||
|
||
public class StayEdge extends TransitionEdge { | ||
|
||
public StayEdge(int cost) { | ||
super(cost); | ||
} | ||
|
||
} |
9 changes: 9 additions & 0 deletions
9
core/src/main/java/org/hisrc/gtfs/graph/model/edge/UnboardEdge.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.hisrc.gtfs.graph.model.edge; | ||
|
||
public class UnboardEdge extends TransitionEdge { | ||
|
||
public UnboardEdge() { | ||
super(0); | ||
} | ||
|
||
} |
11 changes: 0 additions & 11 deletions
11
core/src/main/java/org/hisrc/gtfs/graph/model/vertex/DepartureVertex.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
core/src/main/java/org/hisrc/gtfs/graph/model/vertex/TripStopArrivalVertex.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.hisrc.gtfs.graph.model.vertex; | ||
|
||
import org.apache.commons.lang3.Validate; | ||
import org.onebusaway.gtfs.model.Stop; | ||
import org.onebusaway.gtfs.model.Trip; | ||
|
||
public class TripStopArrivalVertex extends TemporalVertex { | ||
|
||
private final Trip trip; | ||
|
||
public TripStopArrivalVertex(Trip trip, Stop stop, int time) { | ||
super(stop, time); | ||
this.trip = trip; | ||
} | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
core/src/main/java/org/hisrc/gtfs/graph/model/vertex/TripStopDepartureVertex.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package org.hisrc.gtfs.graph.model.vertex; | ||
|
||
import org.onebusaway.gtfs.model.Stop; | ||
import org.onebusaway.gtfs.model.Trip; | ||
|
||
public class TripStopDepartureVertex extends TemporalVertex { | ||
private final Trip trip; | ||
|
||
public TripStopDepartureVertex(Trip trip, Stop stop, int time) { | ||
super(stop, time); | ||
this.trip = trip; | ||
} | ||
|
||
} |
Oops, something went wrong.