equal
deleted
inserted
replaced
172 |
172 |
173 for(int i=0;i<num;i++) { |
173 for(int i=0;i<num;i++) { |
174 n.chords.push_back(G.addEdge(n.outer[i],n.inner[i])); |
174 n.chords.push_back(G.addEdge(n.outer[i],n.inner[i])); |
175 n.outcir.push_back(G.addEdge(n.outer[i],n.outer[(i+1)%5])); |
175 n.outcir.push_back(G.addEdge(n.outer[i],n.outer[(i+1)%5])); |
176 n.incir.push_back(G.addEdge(n.inner[i],n.inner[(i+2)%5])); |
176 n.incir.push_back(G.addEdge(n.inner[i],n.inner[(i+2)%5])); |
177 } |
177 } |
178 return n; |
178 return n; |
179 } |
179 } |
180 |
180 |
181 int urandom(int n) { |
|
182 return rnd.getInt(n); |
|
183 } |
|
184 |
|
185 #endif |
181 #endif |