GraphChi 0.1

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros
Public Member Functions | Protected Member Functions | Protected Attributes
graphchi::vertex_data_store< VertexDataType > Class Template Reference

List of all members.

## Public Member Functions
| vertex_data_store (std::string base_filename, size_t nvertices, stripedio *iomgr)
void | check_size (size_t nvertices)
void | clear (size_t nvertices)
virtual void | load (vid_t _vertex_st, vid_t _vertex_en)
virtual void | save (bool async=false)
vid_t | first_vertex_id ()
VertexDataType * | vertex_data_ptr (vid_t vertexid)

## Protected Member Functions
virtual void | open_file (std::string base_filename)

## Protected Attributes
stripedio * | iomgr
vid_t | vertex_st
vid_t | vertex_en
std::string | filename
int | filedesc
VertexDataType * | loaded_chunk

## Member Function Documentation

template<typename VertexDataType>

vid_t graphchi::vertex_data_store< VertexDataType >::first_vertex_id | ( |  | ) |
| inline

Returns id of the first vertex currently in memory. Fails if nothing loaded yet.

template<typename VertexDataType>

virtual void graphchi::vertex_data_store< VertexDataType >::load | ( | vid_t | _vertex_st,
|  | vid_t | _vertex_en
| ) |  |
| inline virtual

Loads a chunk of vertex values

Parameters:

  vertex_st | first vertex id
  vertex_en | last vertex id, inclusive

template<typename VertexDataType>

virtual void graphchi::vertex_data_store< VertexDataType >::save | ( | bool | async = `false` | ) |
| inline virtual

Saves the current chunk of vertex values

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

- src/engine/auxdata/vertex_data.hpp