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::degree_data Class Reference

List of all members.

## Public Member Functions
| degree_data (std::string base_filename, stripedio *iomgr)
virtual void | load (vid_t _vertex_st, vid_t _vertex_en)
vid_t | first_vertex_id ()
virtual void | set_degree (vid_t vertexid, int indegree, int outdegree)
virtual void | set_degree (vid_t vertexid, degree d)
degree | get_degree (vid_t vertexid)
void | save ()
void | ensure_size (vid_t maxid)

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

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

## Constructor & Destructor Documentation

graphchi::degree_data::degree_data | ( | std::string | base_filename,
|  | stripedio * | iomgr
| ) |  |
| inline

Constructor

Parameters:

  base_filename | base file prefix

## Member Function Documentation

vid_t graphchi::degree_data::first_vertex_id | ( |  | ) |
| inline

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

virtual void graphchi::degree_data::load | ( | vid_t | _vertex_st,
|  | vid_t | _vertex_en
| ) |  |
| inline virtual

Loads a chunk of vertex degrees

Parameters:

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

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

- src/engine/auxdata/degree_data.hpp