namespace ncomputers{
  namespace fpga{
    namespace detailed{
      namespace reader{
        namespace result{
          struct CVertex{
            CPartition*cPartition;
            Degrees cCount;
            Degrees lCount;
            Degrees sCount;
            Stack<CVertex*>cEdges;
            Stack<LVertex*>lEdges;
            Stack<CVertex*>sEdges;
            SubNet*subNet;
            Net*net;

            void inline travel();

            void inline split();

            void inline create(CPartition*const);

            void inline cEdge(CVertex*const vertex){
              vertex->cPush(this),cPush(vertex);
              ++cGraph::cEdges;
            }

            void inline lEdge(LVertex*const vertex){
              vertex->lPush(this),lPush(vertex);
              ++cGraph::lEdges;
            }

            void inline sEdge(CVertex*const vertex){
              vertex->sPush(this),sPush(vertex);
              ++cGraph::sEdges;
            }

            void inline cPush(CVertex*const vertex){
              if(++cCount>cGraph::cDegree)
                cGraph::cDegree=cCount;
              cEdges.push(vertex);
            }

            void inline lPush(LVertex*const vertex){
              ++lCount,lEdges.push(vertex);
            }

            void inline sPush(CVertex*const vertex){
              ++sCount,sEdges.push(vertex);
            }
          };
        }
      }
    }
  }
}
