#include <mpi.h>#include <omp.h>#include <stdio.h>#include <stdlib.h>#include <stdint.h>#include <fstream>#include "dist_graph.h"#include "comms.h"#include "util.h"#include "pagerank.h"
Go to the source code of this file.
Macros | |
| #define | DAMPING_FACTOR 0.85 |
Functions | |
| int | run_pagerank (dist_graph_t *g, mpi_data_t *comm, double *&pageranks, uint32_t num_iter) |
| int | pagerank_output (dist_graph_t *g, double *pageranks, char *output_file) |
| int | pagerank_verify (dist_graph_t *g, double *pageranks) |
| int | pagerank_dist (dist_graph_t *g, mpi_data_t *comm, uint32_t num_iter, char *output_file) |
Variables | |
| int | procid |
| int | nprocs |
| bool | verbose |
| bool | debug |
| bool | verify |
| #define DAMPING_FACTOR 0.85 |
Definition at line 59 of file pagerank.cpp.
| int pagerank_dist | ( | dist_graph_t * | g, |
| mpi_data_t * | comm, | ||
| uint32_t | num_iter, | ||
| char * | output_file | ||
| ) |
Definition at line 331 of file pagerank.cpp.
| int pagerank_output | ( | dist_graph_t * | g, |
| double * | pageranks, | ||
| char * | output_file | ||
| ) |
Definition at line 233 of file pagerank.cpp.
| int pagerank_verify | ( | dist_graph_t * | g, |
| double * | pageranks | ||
| ) |
Definition at line 288 of file pagerank.cpp.
| int run_pagerank | ( | dist_graph_t * | g, |
| mpi_data_t * | comm, | ||
| double *& | pageranks, | ||
| uint32_t | num_iter | ||
| ) |
Definition at line 65 of file pagerank.cpp.
| bool debug |
Definition at line 62 of file pagerank.cpp.
| int nprocs |
Definition at line 61 of file pagerank.cpp.
| bool verify |
Definition at line 62 of file pagerank.cpp.