Research Article

Traffic Flow Prediction Model for Large-Scale Road Network Based on Cloud Computing

Table 1

Map and Reduce functions.

FunctionInputOutputInstructions

Maplist (k2, v2)(1) Parse data into key/value pairs, input to map( ).
(2) Input , output intermediate result .
ReduceInput , list (v2) stands for the value, which belongs to the same k2.