diff --git a/routing/transit_graph.cpp b/routing/transit_graph.cpp index f5e9a6e0a2..dc75586e8a 100644 --- a/routing/transit_graph.cpp +++ b/routing/transit_graph.cpp @@ -101,8 +101,9 @@ void TransitGraph::Fill(vector const & stops, vector const & lines, vector const & gates, map const & gateEndings) { - // Line has information about transit interval. Average time to wait transport for particular line - // is half of this line interval. + // Line has information about transit interval. + // We assume arrival time has uniform distribution with min value |0| and max value |line.GetInterval()|. + // Expected value of time to wait transport for particular line is |line.GetInterval() / 2|. for (auto const & line : lines) m_transferPenalties[line.GetId()] = line.GetInterval() / 2;