graph-convert.cpp File Reference
Graph converter -*- C++ -*-.
More...
#include "Galois/Graphs/FileGraph.h"
#include "Galois/Galois.h"
#include "Galois/Graphs/Serialize.h"
#include <iostream>
#include <vector>
Functions |
void | rmat2gr (const char *infilename, const char *outfilename) |
void | dimacs2gr (const char *infilename, const char *outfilename) |
void | gr2dimacs (const char *infilename, const char *outfilename) |
int | main (int argc, const char **argv) |
Variables |
static const char * | help |
Detailed Description
Graph converter -*- C++ -*-.
Galois, a framework to exploit amorphous data-parallelism in irregular programs.
Copyright (C) 2011, The University of Texas at Austin. All rights reserved. UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERNING THIS SOFTWARE AND DOCUMENTATION, INCLUDING ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR ANY PARTICULAR PURPOSE, NON-INFRINGEMENT AND WARRANTIES OF PERFORMANCE, AND ANY WARRANTY THAT MIGHT OTHERWISE ARISE FROM COURSE OF DEALING OR USAGE OF TRADE. NO WARRANTY IS EITHER EXPRESS OR IMPLIED WITH RESPECT TO THE USE OF THE SOFTWARE OR DOCUMENTATION. Under no circumstances shall University be liable for incidental, special, indirect, direct or consequential damages or loss of profits, interruption of business, or related expenses which may arise from use of Software or Documentation, including but not limited to those resulting from defects in Software and/or Documentation, or loss or inaccuracy of data of any kind.
- Author:
- Dimitrios Prountzos <dprountz@cs.utexas.edu>
Function Documentation
void dimacs2gr |
( |
const char * |
infilename, |
|
|
const char * |
outfilename | |
|
) |
| | |
void gr2dimacs |
( |
const char * |
infilename, |
|
|
const char * |
outfilename | |
|
) |
| | |
int main |
( |
int |
argc, |
|
|
const char ** |
argv | |
|
) |
| | |
void rmat2gr |
( |
const char * |
infilename, |
|
|
const char * |
outfilename | |
|
) |
| | |
Variable Documentation
const char* help [static] |
Initial value:
"[-dimacs2gr | -rmat2gr | -gr2dimacs] <input file> <output file>\n"
"Converts graph formats.\n"
"Default: converts dimacs to binary gr format (-dimacs2gr)\n"