Research Article

Multiagent Reinforcement Learning-Based Taxi Predispatching Model to Balance Taxi Supply and Demand

Algorithm 2

Matrix process.
Require: the matrix to be processed by the dispatching algorithm
Ensure: scheduling map obtained by algorithms
(1)function Matrix_process
(2)  if can be handled by the computing resources at hand then
(3)   processing the with the WOLF-PHC-based dispatch algorithm
(4)   return scheduling map obtained by the algorithm
(5)  else
(6)   Divide the matrix into two smaller ones and
(7)    Matrix_process
(8)    Matrix_process
(9)   get the result by merging the and
(10)  end if
(11)  return
(12)end function