#include <OfflineGraph.h>
galois::graphs::OfflineGraph::OfflineGraph |
( |
const std::string & |
name | ) |
|
|
inline |
galois::graphs::OfflineGraph::OfflineGraph |
( |
OfflineGraph && |
| ) |
|
|
default |
iterator galois::graphs::OfflineGraph::begin |
( |
| ) |
|
|
inline |
auto galois::graphs::OfflineGraph::divideByNode |
( |
size_t |
nodeWeight, |
|
|
size_t |
edgeWeight, |
|
|
size_t |
id, |
|
|
size_t |
total, |
|
|
std::vector< unsigned > |
scaleFactor = std::vector<unsigned>() |
|
) |
| -> GraphRange |
|
inline |
Returns 2 ranges (one for nodes, one for edges) for a particular division.
The ranges specify the nodes/edges that a division is responsible for. The function attempts to split them evenly among threads given some kind of weighting
- Parameters
-
nodeWeight | weight to give to a node in division |
edgeWeight | weight to give to an edge in division |
id | Division number you want the ranges for |
total | Total number of divisions |
scaleFactor | Vector specifying if certain divisions should get more than other divisions |
size_t galois::graphs::OfflineGraph::edgeSize |
( |
| ) |
const |
|
inline |
iterator galois::graphs::OfflineGraph::end |
( |
| ) |
|
|
inline |
uint64_t galois::graphs::OfflineGraph::num_bytes_read |
( |
| ) |
|
|
inline |
uint64_t galois::graphs::OfflineGraph::num_seeks |
( |
| ) |
|
|
inline |
uint64_t galois::graphs::OfflineGraph::operator[] |
( |
uint64_t |
n | ) |
|
|
inline |
Accesses the prefix sum on disk.
- Parameters
-
n | Index into edge prefix sum |
- Returns
- The value located at index n in the edge prefix sum array
void galois::graphs::OfflineGraph::reset_seek_counters |
( |
| ) |
|
|
inline |
size_t galois::graphs::OfflineGraph::size |
( |
| ) |
const |
|
inline |
size_t galois::graphs::OfflineGraph::sizeEdges |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: