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

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

#include <Reduction.h>

Inheritance diagram for galois::GReduceMin< T >:
galois::Reducible< T, gmin< T >, identity_value_max< T > > galois::gmin< T > galois::identity_value_max< T >

Public Member Functions

 GReduceMin ()
 
- Public Member Functions inherited from galois::Reducible< T, gmin< T >, identity_value_max< T > >
 Reducible (gmin< T >merge_func, identity_value_max< 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::gmin< T >
constexpr T operator() (const T &lhs, const T &rhs) const
 
- Public Member Functions inherited from galois::identity_value_max< T >
constexpr T operator() () const
 

Additional Inherited Members

- Public Types inherited from galois::Reducible< T, gmin< T >, identity_value_max< T > >
using value_type = T
 

Detailed Description

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

Accumulator for T where accumulation is min.

Constructor & Destructor Documentation

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

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