bliksemlabs / rrrr

RRRR rapid real-time routing
BSD 2-Clause "Simplified" License
167 stars 32 forks source link

Reversal issue #111

Closed koch-t closed 9 years ago

koch-t commented 10 years ago
./testerrrr --from-idx=7447 --to-idx=34692 -a -D 2013-12-16T0805 -v
checking tdata coherency...
checked 2211156 transfers for symmetry.
-- Router Request --
from:  Edam, De Meermin [7447]
to:    Amsterdam Centraal [34692]
time:  08:00:00 [28800]
speed: 1.500000 m/sec
arrive-by: true
max xfers: 5
max time:     --   
mode: transit

ITIN 1 rides 
WALK    -2  -2  7447  7029 07:26:52 07:32:00 +0.0 ;;walk;walk;;Edam, De Meermin;Edam, Busstation;
BUS  6885  15  7029  7152 07:32:00 07:53:00 +0.0 ;EBS;317;Amsterdam CS;R-NET;Edam, Busstation;Amsterdam, Pr. Hendrikkade;
WALK    -2  -2  7152 34692 07:54:20 08:00:00 +0.0 ;;walk;walk;;Amsterdam, Pr. Hendrikkade;Amsterdam Centraal;

ITIN 2 rides 
WALK    -2  -2  7447  7223 07:27:40 07:28:44 +0.0 ;;walk;walk;;Edam, De Meermin;Edam, De Meermin;
BUS  7021   4  7223  7205 07:28:44 07:30:00 +0.0 ;EBS;110;Purmerend via Edam;;Edam, De Meermin;Edam, Busstation;
WALK    -2  -2  7205  7029 07:31:52 07:32:00 +0.0 ;;walk;walk;;Edam, Busstation;Edam, Busstation;
BUS  6885  15  7029  7152 07:32:00 07:53:00 +0.0 ;EBS;317;Amsterdam CS;R-NET;Edam, Busstation;Amsterdam, Pr. Hendrikkade;
WALK    -2  -2  7152 34692 07:54:20 08:00:00 +0.0 ;;walk;walk;;Amsterdam, Pr. Hendrikkade;Amsterdam Centraal;
Repeated search with reversed request: 
-- Router Request --
from:  Edam, De Meermin [7447]
to:    Amsterdam Centraal [34692]
time:  07:27:40 [28315]
speed: 1.500000 m/sec
arrive-by: false
max xfers: 1
max time:  08:00:00
mode: transit

ITIN 2 rides 
WALK    -2  -2  7447  7210 07:27:40 07:32:36 +0.0 ;;walk;walk;;Edam, De Meermin;Edam, Busstation;
BUS  6904  11  7210  7033 07:35:00 07:44:00 +0.0 ;EBS;379;Amsterdam ZO;R-NET;Edam, Busstation;Broek in Waterland, Dorp;
WAIT    -2  -2  7033  7033 07:44:00 07:44:00 +0.0 ;;walk;walk;;Broek in Waterland, Dorp;Broek in Waterland, Dorp;
BUS  6889  54  7033  7152 07:48:00 08:00:00 +0.0 ;EBS;315;Amsterdam CS;R-NET;Broek in Waterland, Dorp;Amsterdam, Pr. Hendrikkade;
WALK    -2  -2  7152 34692 08:00:00 08:05:40 +0.0 ;;walk;walk;;Amsterdam, Pr. Hendrikkade;Amsterdam Centraal;
koch-t commented 10 years ago

Note when having the exact same arrivaltime, we really should optimize on the lower amount of transfers imo.

koch-t commented 9 years ago

Fixed in tdata4