|
Galois
|
Like FileGraph but allows partial loading of the graph. More...
#include <OCGraph.h>
Classes | |
| struct | EdgeReference |
Public Types | |
| typedef uint32_t | GraphNode |
| typedef boost::counting_iterator < uint32_t > | iterator |
| typedef boost::counting_iterator < uint64_t > | edge_iterator |
| typedef uint64_t * | edge_offset_iterator |
| typedef Segment | segment_type |
Public Member Functions | |
| OCFileGraph () | |
| ~OCFileGraph () | |
| iterator | begin () const |
| iterator | end () const |
| size_t | size () const |
| size_t | sizeEdges () const |
| edge_iterator | edge_begin (GraphNode n) const |
| edge_iterator | edge_end (GraphNode n) const |
| edge_offset_iterator | edge_offset_begin () const |
| edge_offset_iterator | edge_offset_end () const |
| template<typename EdgeTy > | |
| EdgeReference< EdgeTy >::type | getEdgeData (const segment_type &s, edge_iterator it, typename std::enable_if<!std::is_same< void, EdgeTy >::value >::type *=0) |
| template<typename EdgeTy > | |
| EdgeReference< EdgeTy >::type | getEdgeData (const segment_type &, edge_iterator, typename std::enable_if< std::is_same< void, EdgeTy >::value >::type *=0) |
| GraphNode | getEdgeDst (const segment_type &s, edge_iterator it) |
| void | unload (segment_type &s) |
| void | load (segment_type &s, edge_iterator begin, edge_iterator end, size_t sizeof_data) |
| void | fromFile (const std::string &fname) |
Like FileGraph but allows partial loading of the graph.
| typedef boost::counting_iterator<uint64_t> galois::graphs::OCFileGraph::edge_iterator |
| typedef uint64_t* galois::graphs::OCFileGraph::edge_offset_iterator |
| typedef uint32_t galois::graphs::OCFileGraph::GraphNode |
| typedef boost::counting_iterator<uint32_t> galois::graphs::OCFileGraph::iterator |
| typedef Segment galois::graphs::OCFileGraph::segment_type |
|
inline |
| OCFileGraph::~OCFileGraph | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void OCFileGraph::fromFile | ( | const std::string & | fname | ) |
|
inline |
|
inline |
|
inline |
| void OCFileGraph::load | ( | segment_type & | s, |
| edge_iterator | begin, | ||
| edge_iterator | end, | ||
| size_t | sizeof_data | ||
| ) |
|
inline |
|
inline |
|
inline |