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

#include <Statistics.h>

Public Member Functions

 RunningSum (void)
 
void add (const T &val)
 
const T & sum (void) const
 
const size_t & count (void) const
 
avg () const
 

Constructor & Destructor Documentation

template<typename T >
galois::runtime::RunningSum< T >::RunningSum ( void  )
inline

Member Function Documentation

template<typename T >
void galois::runtime::RunningSum< T >::add ( const T &  val)
inline
template<typename T >
T galois::runtime::RunningSum< T >::avg ( ) const
inline
template<typename T >
const size_t& galois::runtime::RunningSum< T >::count ( void  ) const
inline
template<typename T >
const T& galois::runtime::RunningSum< T >::sum ( void  ) const
inline

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