GraphChi  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros
Public Member Functions | Public Attributes
graphchi::memory_shard< VT, ET, svertex_t, ETspecial > Class Template Reference

List of all members.

Public Member Functions

 memory_shard (stripedio *iomgr, std::string _filename_edata, std::string _filename_adj, vid_t _range_start, vid_t _range_end, metrics &_m)
void commit (bool all)
bool loaded ()
void load ()
void check_stream_progress (int toread, size_t pos)
void load_vertices (vid_t window_st, vid_t window_en, std::vector< svertex_t > &prealloc, bool inedges=true, bool outedges=true)
size_t offset_for_stream_cont ()
vid_t offset_vid_for_stream_cont ()
size_t edata_ptr_for_stream_cont ()

Public Attributes

bool only_adjacency

Member Function Documentation

template<typename VT , typename ET , typename svertex_t = graphchi_vertex<VT, ET>, typename ETspecial = ET>
void graphchi::memory_shard< VT, ET, svertex_t, ETspecial >::commit ( bool  all)
inline

This is an optimization that is relevant only if memory shard has been used in a case where only out-edges are considered. Out-edges are in a continuous "window", while in-edges are scattered all over the shard


The documentation for this class was generated from the following file: