HavoqGT
havoqgt::mpi::edge_target_partitioner Class Reference

#include <edge_partitioner.hpp>

Public Member Functions

 edge_target_partitioner (int p)
 
int operator() (std::pair< uint64_t, uint64_t > i) const
 

Private Attributes

int m_mpi_size
 

Detailed Description

Definition at line 86 of file edge_partitioner.hpp.

Constructor & Destructor Documentation

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

Definition at line 88 of file edge_partitioner.hpp.

Member Function Documentation

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

Definition at line 89 of file edge_partitioner.hpp.

89  {
90  return i.second % m_mpi_size;
91  }

Member Data Documentation

int havoqgt::mpi::edge_target_partitioner::m_mpi_size
private

Definition at line 94 of file edge_partitioner.hpp.


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