SHARE
TWEET

Untitled

a guest Feb 11th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void init() {
  2.     Vertex prvi = firstVertex();
  3.     Edge pov = prvi.firstEdge();
  4.     while(prvi != null) {
  5.         while(pov != null) {
  6.             prvi.indegree++;
  7.             Vertex sosed = endVertex(prvi, pov);
  8.             sosed.outdegree++;
  9.             pov = nextEdge(pov);
  10.         }
  11.         prvi = nextVertex(prvi);
  12.     }
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top