1
2 #include <stdlib.h>
3 #include <stdio.h>
4 #include <string.h>
5
6 #include "map.h"
7 #include "traffic.h"
8 #include "population.h"
9
10 #define MAX_ROUTE_LEN 100
11
12 typedef struct route_s {
13 int x[MAX_ROUTE_LEN];
14 int y[MAX_ROUTE_LEN];
15 int len;
16 } route_t;
17
18 static void
find_route(map_t * map,int startx,int starty,int endx,int endy,route_t * route)19 find_route(map_t *map, int startx, int starty,
20 int endx, int endy, route_t *route)
21 {
22
23 }
24
25 static void
traffic_person(person_t * person)26 traffic_person(person_t *person)
27 {
28
29 }
30
31
32 extern void
traffic_calculate(void)33 traffic_calculate(void)
34 {
35 /*
36 * iterate over subset of the population
37 */
38 }
39