|
hep-mc
0.8
|
Class capturing the complete internal state of the Multi Channel Integrator.
Public Member Functions | |
| multi_channel_chkpt (T min_weight, T beta) | |
| multi_channel_chkpt (std::vector< T > const &channel_weights, T min_weight, T beta) | |
| multi_channel_chkpt (std::istream &in) | |
| std::vector< T > | channel_weights () const |
| void | channels (std::size_t channels) |
| T | beta () const |
| T | min_weight () const |
| void | serialize (std::ostream &out) const override |
Public Member Functions inherited from hep::chkpt< multi_channel_result< T > > | |
| chkpt ()=default | |
| chkpt (std::istream &in) | |
| chkpt (chkpt< multi_channel_result< T > > const &)=default | |
| chkpt (chkpt< multi_channel_result< T > > &&) noexcept=default | |
| chkpt & | operator= (chkpt< multi_channel_result< T > > const &)=default |
| chkpt & | operator= (chkpt< multi_channel_result< T > > &&) noexcept=default |
| std::vector< multi_channel_result< T > > const & | results () const |
| virtual | ~chkpt ()=default |
Additional Inherited Members | |
Public Types inherited from hep::chkpt< multi_channel_result< T > > | |
| using | result_type = multi_channel_result< T > |
Protected Attributes inherited from hep::chkpt< multi_channel_result< T > > | |
| std::vector< multi_channel_result< T > > | results_ |
|
inline |
Constructor. Do not use directly, but instead use make_multi_channel_chkpt.
|
inline |
Constructor. Do not use directly, but instead use make_multi_channel_chkpt.
|
inlineexplicit |
Deserialization constructor. Do not use directly, but instead use make_multi_channel_chkpt.
|
inline |
Returns the parameter \( \beta \) used to refine the weights with multi_channel_refine_weights.
|
inline |
Returns the channel weights for the next iteration.
|
inline |
Sets the number of channels.
|
inline |
The smallest weight allowed for each channel. This does not concern weights which are exactly zero, which disable channels.
|
inlineoverridevirtual |
Serializes this object. This writes a textual representation of this class to the stream out.
Reimplemented from hep::chkpt< multi_channel_result< T > >.