1 
2 typedef struct
3 {
4     int cat;			/* category number */
5     int node;			/* node number */
6 } CENTER;
7 
8 typedef struct
9 {
10     int center;			/* neares center, initially -1 */
11     double cost;		/* costs from this center, initially not defined */
12     int edge;			/* edge to follow from this node */
13 } NODE;
14 
15 int alloc_from_centers_loop_tt(struct Map_info *Map, NODE *Nodes,
16                                CENTER *Centers, int ncenters,
17                                int tucfield);
18 int alloc_to_centers_loop_tt(struct Map_info *Map, NODE *Nodes,
19                                CENTER *Centers, int ncenters,
20                                int tucfield);
21 
22 int alloc_from_centers(dglGraph_s *graph, NODE *Nodes, CENTER *Centers, int ncenters);
23 int alloc_to_centers(dglGraph_s *graph, NODE *Nodes, CENTER *Centers, int ncenters);
24