MCPcopy Create free account
hub / github.com/comaps/comaps / AddInterval

Method AddInterval

libs/transit/transit_schedule.cpp:300–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298}
299
300void FrequencyIntervals::AddInterval(TimeInterval const & timeInterval, Frequency frequency)
301{
302 m_intervals[timeInterval] = frequency;
303}
304
305Frequency FrequencyIntervals::GetFrequency(Time const & time) const
306{

Callers 4

MakeFrozenMethod · 0.45
UNIT_TESTFunction · 0.45
FillTestTransitDataFunction · 0.45
GetFrequencyIntervalsFunction · 0.45

Calls

no outgoing calls

Tested by 2

UNIT_TESTFunction · 0.36
FillTestTransitDataFunction · 0.36