28 int main(
int argc,
char **argv)
48 for( scale=
SCALE; scale>0; scale-- ) {
52 if( (rint>=
A && rint<
A+
B) || (rint>=
A+
B+
C) )
55 if( adjmat[r][c]==0 && r!=c ) {
70 adjmat[r][
c] = adjmat[rint][
c];
71 adjmat[rint][
c] = temp;
78 adjmat[r][
c] = adjmat[r][rint];
79 adjmat[r][rint] = temp;
111 fd = open(
"input.data", O_WRONLY|O_CREAT|O_TRUNC, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
112 assert( fd>0 &&
"Couldn't open input data file" );
static uint64_t prng_rand(struct prng_rand_t *state)
node_index_t starting_node
void data_to_input(int fd, void *vdata)
int main(int argc, char **argv)
static void prng_srand(uint64_t seed, struct prng_rand_t *state)