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 | Public Attributes
graphchi::graphchi_context Struct Reference

List of all members.

## Public Member Functions
double | runtime ()
void | set_last_iteration (int _last_iteration)
void | reset_deltas (int nthreads)
double | get_delta ()
bool | isnan (double x)
void | log_change (double delta)

## Public Attributes
size_t | nvertices
ischeduler * | scheduler
int | iteration
int | num_iterations
int | last_iteration
int | execthreads
std::vector< double > | deltas
timeval | start
std::string | filename

## Member Function Documentation

void graphchi::graphchi_context::log_change | ( | double | delta | ) |
| inline

Method for keeping track of the amount of change in computation. An update function may broadcast a numerical "delta" value that is automatically accumulated (in thread-safe way).

Parameters:

  delta |

void graphchi::graphchi_context::set_last_iteration | ( | int | _last_iteration | ) |
| inline

Set a termination iteration.

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

- src/api/graphchi_context.hpp