Class rmat_edge_generator::input_iterator_type

Nested Relationships

This class is a nested type of Class rmat_edge_generator.

Inheritance Relationships

Base Type

  • public std::iterator< std::input_iterator_tag, edge_type, ptrdiff_t, const edge_type *, const edge_type & >

Class Documentation

class input_iterator_type : public std::iterator<std::input_iterator_tag, edge_type, ptrdiff_t, const edge_type *, const edge_type&>

InputIterator class for rmat_edge_generator.

Public Functions

input_iterator_type(rmat_edge_generator *ptr_rmat, uint64_t count)
const edge_type &operator*() const
input_iterator_type &operator++()
input_iterator_type operator++(int)
edge_type *operator->()
bool is_equal(const input_iterator_type &_x) const

Friends

bool operator==(const input_iterator_type &x, const input_iterator_type &y)

Return true if x and y are both end or not end, or x and y are the same.

bool operator!=(const input_iterator_type &x, const input_iterator_type &y)

Return false if x and y are both end or not end, or x and y are the same.