STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types | Public Attributes
stapl::page_rank_impl::page_rank_copy_wf< Rank > Struct Template Reference

Work-function to copy the auxiliary rank to the actual PageRank values and reinitialize the auxiliary rank. More...

Public Member Functions

 page_rank_copy_wf (Rank const &damping, size_t max_visits)
 
template<typename Vertex >
void operator() (Vertex v) const
 
template<typename GraphView >
bool operator() (GraphView g, size_t iteration) const
 Algorithm to copy the auxiliary rank to the actual PageRank values and reinitialize the auxiliary rank. More...
 

Public Types

typedef void result_type
 

Public Attributes

Rank m_damping
 
size_t m_max_visits
 

Detailed Description

template<typename Rank>
struct stapl::page_rank_impl::page_rank_copy_wf< Rank >

Work-function to copy the auxiliary rank to the actual PageRank values and reinitialize the auxiliary rank.

Member Function Documentation

◆ operator()()

template<typename Rank >
template<typename GraphView >
bool stapl::page_rank_impl::page_rank_copy_wf< Rank >::operator() ( GraphView  g,
size_t  iteration 
) const

Algorithm to copy the auxiliary rank to the actual PageRank values and reinitialize the auxiliary rank.

Executed at the end of each paradigm iteration as a post-execute.

Parameters
gThe input graph_view
iterationThe iteration value.

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