History | View | Annotate | Download (213 Bytes)
//Representation of an edge (road)
typedef struct {
int to;
int dist;
}edge
//Representation of an intersection on the graph
int type;
int numOut;
edge[] outgoingEdges;
}node