13 if (indeg > 0 && outdeg > 0) {
70 if (i >= alen || j >= blen) {
TSizeTy Len() const
Returns the number of elements in the vector.
int GetOutDeg() const
Returns out-degree of the current node.
int GetCommon(TIntV &A, TIntV &B)
Returns the number of common elements in two sorted TInt vectors.
Node iterator. Only forward iteration (operator++) is supported.
int GetInDeg() const
Returns in-degree of the current node.
int GetInNId(const int &NodeN) const
Returns ID of NodeN-th in-node (the node pointing to the current node).
TSizeTy Add()
Adds a new element at the end of the vector, after its current last element.
int GetOutNId(const int &NodeN) const
Returns ID of NodeN-th out-node (the node the current node points to).