sgraph * createSGraph(int)
snode * createSNode(sgraph *)
void initSEdges(sgraph *g, int maxdeg)
int shortPath(sgraph *g, snode *from, snode *to)
void freeSGraph(sgraph *)
sedge * createSEdge(sgraph *g, snode *v0, snode *v1, double wt)
result of partitioning available space, part of maze
a node of search graph sgraph, is created as a border segment between two adjusted cells of type cell...
struct cell * cells[2]
[0] - left or botom, [1] - top or right adjusted cell
int * adj_edge_list
edges incident on this node – stored as indices of the edges array in the graph