Searched refs:NIdx (Results 1 – 1 of 1) sorted by relevance
119 void connectToN(Graph &G, EdgeId ThisEdgeId, unsigned NIdx) { in connectToN() argument120 assert(ThisEdgeAdjIdxs[NIdx] == NodeEntry::getInvalidAdjEdgeIdx() && in connectToN()122 NodeEntry &N = G.getNode(NIds[NIdx]); in connectToN()123 ThisEdgeAdjIdxs[NIdx] = N.addAdjEdgeId(ThisEdgeId); in connectToN()149 void disconnectFromN(Graph &G, unsigned NIdx) { in disconnectFromN() argument150 assert(ThisEdgeAdjIdxs[NIdx] != NodeEntry::getInvalidAdjEdgeIdx() && in disconnectFromN()152 NodeEntry &N = G.getNode(NIds[NIdx]); in disconnectFromN()153 N.removeAdjEdgeId(G, NIds[NIdx], ThisEdgeAdjIdxs[NIdx]); in disconnectFromN()154 ThisEdgeAdjIdxs[NIdx] = NodeEntry::getInvalidAdjEdgeIdx(); in disconnectFromN()