#include <preferential_attachment.hpp>
Public Types | |
typedef uint64_t | vertex_descriptor |
typedef std::pair< uint64_t, uint64_t > | edge_type |
Public Member Functions | |
preferential_attachment_helper (uint64_t k, uint64_t m, double beta, uint64_t rng_seed=5489) | |
edge_type | gen_edge (uint64_t _edge_index) |
uint64_t | calc_source (uint64_t i) |
uint64_t | calc_target (uint64_t i) |
vertex_descriptor | make_pointer (vertex_descriptor i) |
bool | is_pointer (vertex_descriptor i) |
uint64_t | value_of_pointer (vertex_descriptor i, uint64_t _num_partitions=1) |
Private Attributes | |
boost::random::mt19937 | m_rng |
uint64_t | m_k |
uint64_t | m_koffset |
vertex_descriptor | m_ptr_mask |
uint64_t | m_num_edges |
double | m_alpha |
Definition at line 63 of file preferential_attachment.hpp.
typedef std::pair<uint64_t,uint64_t> havoqgt::detail::preferential_attachment_helper< DUMMY >::edge_type |
Definition at line 66 of file preferential_attachment.hpp.
typedef uint64_t havoqgt::detail::preferential_attachment_helper< DUMMY >::vertex_descriptor |
Definition at line 65 of file preferential_attachment.hpp.
|
inline |
Definition at line 68 of file preferential_attachment.hpp.
|
inline |
Definition at line 107 of file preferential_attachment.hpp.
|
inline |
Definition at line 119 of file preferential_attachment.hpp.
|
inline |
Definition at line 79 of file preferential_attachment.hpp.
|
inline |
Definition at line 135 of file preferential_attachment.hpp.
|
inline |
Definition at line 131 of file preferential_attachment.hpp.
|
inline |
Definition at line 140 of file preferential_attachment.hpp.
|
private |
Definition at line 155 of file preferential_attachment.hpp.
|
private |
Definition at line 151 of file preferential_attachment.hpp.
|
private |
Definition at line 152 of file preferential_attachment.hpp.
|
private |
Definition at line 154 of file preferential_attachment.hpp.
|
private |
Definition at line 153 of file preferential_attachment.hpp.
|
private |
Definition at line 150 of file preferential_attachment.hpp.