SSSP.cpp File Reference
Single source shortest paths -*- C++ -*-.
More...
#include "Galois/Timer.h"
#include "Galois/Statistic.h"
#include "Galois/Graphs/Graph.h"
#include "Galois/Galois.h"
#include "Galois/Graphs/FileGraph.h"
#include "Galois/Runtime/DebugWorkList.h"
#include "Lonestar/Banner.h"
#include "Lonestar/CommandLine.h"
#include <string>
#include <sstream>
#include <limits>
#include <iostream>
#include <set>
Detailed Description
Single source shortest paths -*- 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.
Single source shortest paths.
- Author:
- Andrew Lenharth <andrewl@lenharth.org>
Typedef Documentation
typedef Galois::Graph::LC_FileGraph<SNode, unsigned int>::GraphNode GNode |
typedef Galois::Graph::LC_FileGraph<SNode, unsigned int> Graph |
Function Documentation
template<typename WLTy >
void getInitialRequests |
( |
const GNode |
src, |
|
|
WLTy & |
wl | |
|
) |
| | [inline] |
int main |
( |
int |
argc, |
|
|
const char ** |
argv | |
|
) |
| | |
void runBody |
( |
const GNode |
src |
) |
|
void runBodyParallel |
( |
const GNode |
src |
) |
|
bool verify |
( |
GNode |
source |
) |
|
Variable Documentation
Initial value:
"Computes the shortest path from a source node to all nodes in a directed "
"graph using a modified Bellman-Ford algorithm\n"
Initial value:
std::numeric_limits<unsigned int>::max() - 1
const char* help [static] |
Initial value:
"<input file> <startnode> <reportnode> [-delta <deltaShift>] [-bfs]"
const char* name = "Single Source Shortest Path" [static] |
const char* url = "single_source_shortest_path" [static] |