HavoqGT
havoqgt::mpi::edge_source_partitioner Class Reference

#include <edge_partitioner.hpp>

Public Member Functions

 edge_source_partitioner (int p)
 
int operator() (std::pair< uint64_t, uint64_t > i, bool is_counting) const
 

Private Attributes

int m_mpi_size
 

Detailed Description

Definition at line 75 of file edge_partitioner.hpp.

Constructor & Destructor Documentation

havoqgt::mpi::edge_source_partitioner::edge_source_partitioner ( int  p)
inlineexplicit

Definition at line 77 of file edge_partitioner.hpp.

Member Function Documentation

int havoqgt::mpi::edge_source_partitioner::operator() ( std::pair< uint64_t, uint64_t >  i,
bool  is_counting 
) const
inline

Definition at line 78 of file edge_partitioner.hpp.

78  {
79  return i.first % m_mpi_size;
80  }

Member Data Documentation

int havoqgt::mpi::edge_source_partitioner::m_mpi_size
private

Definition at line 83 of file edge_partitioner.hpp.


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