Skip to main content
. 2023 Oct 18;51:109695. doi: 10.1016/j.dib.2023.109695

Algorithm 1.

OD matrix estimation from CDR data.

INPUT: Call log database, the constants ΔT, and Lmin, and table of distances between geographic unitsTminTmmax
OUTPUT: OD Matrix

01 Begin
02 OD = NULL
03 For each day of the database
04  For each trip detected by two successive records of the same user, with distance lij and in the time interval ΔT
05   Iflij>Lmin and TminΔTTmax
06    Identify presumed domicile i
07    Compute de expansion factor ki
08    ODijODij + ki
09   End If
10  End For
11 End For
12 Returns OD Matrix
13 End