Galois
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
galois::GReduceMax< T > Class Template Reference

Accumulator for T where accumulation is max. More...

#include <Reduction.h>

Inheritance diagram for galois::GReduceMax< T >:
galois::Reducible< T, gmax< T >, identity_value_min< T > > galois::gmax< T > galois::identity_value_min< T >

Public Member Functions

 GReduceMax ()
 
- Public Member Functions inherited from galois::Reducible< T, gmax< T >, identity_value_min< T > >
 Reducible (gmax< T >merge_func, identity_value_min< T >id_func)
 
void update (T &&rhs)
 Updates the thread local value by applying the reduction operator to current and newly provided value. More...
 
void update (const T &rhs)
 
T & getLocal ()
 Returns a reference to the local value of T. More...
 
T & reduce ()
 Returns the final reduction value. More...
 
void reset ()
 
- Public Member Functions inherited from galois::gmax< T >
constexpr T operator() (const T &lhs, const T &rhs) const
 
- Public Member Functions inherited from galois::identity_value_min< T >
constexpr T operator() () const
 

Additional Inherited Members

- Public Types inherited from galois::Reducible< T, gmax< T >, identity_value_min< T > >
using value_type = T
 

Detailed Description

template<typename T>
class galois::GReduceMax< T >

Accumulator for T where accumulation is max.

Constructor & Destructor Documentation

template<typename T>
galois::GReduceMax< T >::GReduceMax ( )
inline

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