|
hep-mc
0.8
|
Checkpoints created by the VEGAS Integrator.
Public Member Functions | |
| vegas_chkpt (std::size_t bins, T alpha) | |
| vegas_chkpt (vegas_pdf< T > const &pdf, T alpha) | |
| vegas_chkpt (std::istream &in) | |
| T | alpha () const |
| void | dimensions (std::size_t dimensions) |
| vegas_pdf< T > | pdf () const |
| void | serialize (std::ostream &out) const override |
Public Member Functions inherited from hep::chkpt< vegas_result< T > > | |
| chkpt ()=default | |
| chkpt (std::istream &in) | |
| chkpt (chkpt< vegas_result< T > > const &)=default | |
| chkpt (chkpt< vegas_result< T > > &&) noexcept=default | |
| chkpt & | operator= (chkpt< vegas_result< T > > const &)=default |
| chkpt & | operator= (chkpt< vegas_result< T > > &&) noexcept=default |
| std::vector< vegas_result< T > > const & | results () const |
| virtual | ~chkpt ()=default |
Additional Inherited Members | |
Public Types inherited from hep::chkpt< vegas_result< T > > | |
| using | result_type = vegas_result< T > |
Protected Attributes inherited from hep::chkpt< vegas_result< T > > | |
| std::vector< vegas_result< T > > | results_ |
|
inline |
Constructor. Creates an empty checkpoint with a uniform vegas_pdf with the specified number of bins. The argument alpha will be used to adapt the grids after each iteration.
|
inline |
Constructor. Creates an empty checkpoint with the user-defined vegas_pdf which can be used to integrate using a PDF different from a uniform one.
|
inlineexplicit |
Deserialization constructor. This creates a checkpoint by reading from the stream in.
|
inline |
Returns the parameter alpha, which is used to refine the PDF of VEGAS after each iteration.
|
inline |
Sets the number of dimensions which is a parameter needed for the VEGAS integration.
|
inline |
Returns the PDF which is used for the next iteration.
|
inlineoverridevirtual |
Serializes this object. This writes a textual representation of this class to the stream out.
Reimplemented from hep::chkpt< vegas_result< T > >.