model_server/edge/src/sugitopsort.cxx
/*
 * TopSortTop
 *	Topological sort starting from level 0
 *      - changed to use node level set in node constructor as
 *        view level (sergey).
 */
TopSortTop
Topological sort starting from level 0
- changed to use node level set in node constructor as
view level (sergey).
TopSortTop Topological sort starting from level 0 - changed to use node level set in node constructor as view level ( sergey ) .
void TopSortTop(graph* g)
{
 for (node* n = g->getheadnode(); n; n = n->getnextnode())
     n->setreached(1);
 g->setmaxlevel(0);
}
void TopSortTop ( graph * g ) { for ( node * n = g -> getheadnode ( ) ; n ; n = n -> getnextnode ( ) ) n -> setreached ( 1 ) ; g -> setmaxlevel ( 0 ) ; }
TopSortTop
      Topological sort starting from level 0
      - changed to use node level set in node constructor as
        view level (sergey).
TopSortTop Topological sort starting from level 0 - changed to use node level set in node constructor as view level ( sergey ) .
//   Levels already set by constructor which uses VIEW levels; //   mark nodes as being reached /*   DepthSearchTop(FindTopNodes(g),0);   */