function delay = TRI_CY_Check_Delay(start_time, arrive_time, slot)

if start_time > arrive_time + slot(2)
    delay = 1;
else
    delay = 0;
end