Mathematical Problems in Engineering / 2015 / Article / Alg 1

Research Article

A Real-Time Pothole Detection Approach for Intelligent Transportation System

Algorithm 1

The pseudocode of the proposed pothole detection approach.
Input: , where , , ,
Output: The value of output is 1 when the proposed pothole detection approach
   supposes the car passed through a pothole.
Set  check_method = 0
set  check_time = 0
while  
  if   sec  then
    check_method = 0
    check_time = 0
  end  if
  if   = 1  then
    if  check_method = 0  then
      check_method = 1
      check_time =
    else  if  check_method = 4  then
      return  1
    else
      check_time =
    end  if
  end  if
  if   = 1  then
    if  check_method = 0  then
      check_method = 4
      check_time =
    else  if  check_method = 1  then
      return 1
    else
     check_time =
    end  if
  end  if
end  while

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.