
Go to the source code of this file.
Data Structures | |
| struct | params_t |
Functions | |
| void | print_init_info (params_t *params, gk_csr_t *mat) |
| void | print_final_info (params_t *params) |
| params_t * | parse_cmdline (int argc, char *argv[]) |
| int | main (int argc, char *argv[]) |
Variables | |
| static struct gk_option | long_options [] |
| static char | helpstr [][100] |
| static char | shorthelpstr [][100] |
$Id: rw.c 11387 2012-01-21 23:36:23Z karypis $
Definition in file rw.c.
Function prototypes
This function prints run parameters
This is the entry point of the command-line argument parser
Definition at line 217 of file cmdline_gpmetis.c.
the entry point
Definition at line 103 of file rw.c.
References params_t::eps, gk_csr_Free(), gk_csr_Read(), gk_csr_t, gk_fclose(), gk_fopen(), gk_free(), gk_rw_PageRank(), params_t::infile, params_t::lamda, params_t::niter, params_t::ntvs, params_t::outfile, parse_cmdline(), params_t::ppr, print_final_info(), and print_init_info().

struct gk_option long_options[] [static] |
char helpstr[][100] [static] |
Initial value:
{
" ",
"Usage: rw [options] <graph-file> <out-file>",
" ",
" Required parameters",
" graph-file",
" The name of the file storing the transactions. The file is in ",
" Metis' graph format.",
" ",
" Optional parameters",
" -niter=int",
" Specifies the maximum number of iterations. [default: 100]",
" ",
" -lamda=float",
" Specifies the follow-the-adjacent-links probability. [default: 0.80]",
" ",
" -eps=float",
" Specifies the error tollerance. [default: 1e-10]",
" ",
" -ppr=int",
" Specifies the source of the personalized PR. [default: -1]",
" ",
" -ntvs=int",
" Specifies the number of test-vectors to compute. [default: -1]",
" ",
" -help",
" Prints this message.",
""
}
char shorthelpstr[][100] [static] |
1.5.5