CPARK 1.0
A light-weighted, distributed computing framework for C++ that offers a fast and general-purpose large data processing solution.
|
#include <generator_rdd.h>
Public Types | |
using | difference_type = std::ptrdiff_t |
using | value_type = T |
Public Member Functions | |
Iterator (const Func *func, Num i) | |
value_type | operator* () const |
Iterator & | operator++ () |
Iterator | operator++ (int) |
bool | operator== (const Iterator &other) const |
bool | operator!= (const Iterator &other) const |
An iterator that can be used to compute the value of a function Func
invoked by a Num
.
Creates the iterator with function func
and starting argument value i
.
|
inline |
Computes the current value func_(i_)
.
|
inline |
Increments the function argument.
Increments the function argument.
|
inline |
Two iterators equal each other if and only if they have the same function and argument.