ALPSCore reference
|
#include <weight_holder.hpp>
Public Types | |
typedef W | weight_type |
typedef Result< T, weight_holder_tag< W >, typename B::result_type > | result_type |
Public Member Functions | |
Accumulator () | |
Accumulator (Accumulator const &arg) | |
template<typename ArgumentPack > | |
Accumulator (ArgumentPack const &args, typename std::enable_if<!is_accumulator< ArgumentPack >::value, int >::type=0) | |
base_wrapper< T > const * | weight () const |
void | operator() (T const &val) |
template<typename X > | |
std::enable_if< std::conditional< std::is_scalar< typename value_type< weight_type >::type >::value, typename std::is_convertible< X, typename value_type< weight_type >::type >::type, typename std::is_same< X, typename value_type< weight_type >::type >::type >::value >::type | operator() (T const &val, X const &weight) |
template<typename X > | |
std::enable_if<!std::conditional< std::is_scalar< typename value_type< weight_type >::type >::value, typename std::is_convertible< X, typename value_type< weight_type >::type >::type, typename std::is_same< X, typename value_type< weight_type >::type >::type >::value >::type | operator() (T const &, X const &) |
template<typename S > | |
void | print (S &os, bool terse=false) const |
void | save (hdf5::archive &ar) const |
void | load (hdf5::archive &ar) |
void | reset () |
template<typename A > | |
void | merge (const A &) |
Merge placeholder. More... | |
bool | owns_weight () const |
Static Public Member Functions | |
static std::size_t | rank () |
static bool | can_load (hdf5::archive &ar) |
Definition at line 32 of file weight_holder.hpp.
typedef Result<T, weight_holder_tag<W>, typename B::result_type> alps::accumulators::impl::Accumulator< T, weight_holder_tag< W >, B >::result_type |
Definition at line 36 of file weight_holder.hpp.
typedef W alps::accumulators::impl::Accumulator< T, weight_holder_tag< W >, B >::weight_type |
Definition at line 35 of file weight_holder.hpp.
|
inline |
Definition at line 40 of file weight_holder.hpp.
|
inline |
Definition at line 42 of file weight_holder.hpp.
|
inline |
Definition at line 44 of file weight_holder.hpp.
|
inlinestatic |
Definition at line 93 of file weight_holder.hpp.
|
inline |
Definition at line 87 of file weight_holder.hpp.
|
inline |
|
inline |
Definition at line 53 of file weight_holder.hpp.
|
inline |
Definition at line 62 of file weight_holder.hpp.
|
inline |
Definition at line 72 of file weight_holder.hpp.
|
inline |
Definition at line 134 of file weight_holder.hpp.
|
inline |
Definition at line 76 of file weight_holder.hpp.
|
inlinestatic |
Definition at line 92 of file weight_holder.hpp.
|
inline |
Definition at line 103 of file weight_holder.hpp.
|
inline |
Definition at line 82 of file weight_holder.hpp.
|
inline |
Definition at line 48 of file weight_holder.hpp.