#include <edge_partitioner.hpp>
Definition at line 119 of file edge_partitioner.hpp.
havoqgt::mpi::high_edge_partitioner::high_edge_partitioner |
( |
int |
s, |
|
|
int |
r, |
|
|
std::map< uint64_t, std::deque< OverflowSendInfo >> * |
transfer_info |
|
) |
| |
|
inlineexplicit |
Definition at line 121 of file edge_partitioner.hpp.
std::map< uint64_t, std::deque< OverflowSendInfo > > * m_transfer_info
int havoqgt::mpi::high_edge_partitioner::operator() |
( |
std::pair< uint64_t, uint64_t > |
i, |
|
|
bool |
is_counting = true |
|
) |
| |
|
inline |
Determines where to send an edge. If the edge's destination is owned by another node, then the edge is sent to that node. Otherwise, it is sent to a node based on the transfer_info.
- Parameters
-
is_counting | determines how to adjust the send_count variavles |
- Returns
- the node to send the passed edge to.
Definition at line 136 of file edge_partitioner.hpp.
143 const uint64_t delegate_id = i.first;
169 const int to_send_count =
std::map< uint64_t, std::deque< OverflowSendInfo > > * m_transfer_info
const int havoqgt::mpi::high_edge_partitioner::m_mpi_rank |
|
private |
const int havoqgt::mpi::high_edge_partitioner::m_mpi_size |
|
private |
std::map<uint64_t, std::deque<OverflowSendInfo> >* havoqgt::mpi::high_edge_partitioner::m_transfer_info |
|
private |
The documentation for this class was generated from the following file: