|
proxygen
|
#include <Base-inl.h>
Classes | |
| class | Generator |
Public Member Functions | |
| Sample (size_t count, Random rng) | |
| template<class Source , class Value , class Gen = Generator<Value, Source, Random>> | |
| Gen | compose (GenImpl< Value, Source > &&source) const |
| template<class Source , class Value , class Gen = Generator<Value, Source, Random>> | |
| Gen | compose (const GenImpl< Value, Source > &source) const |
Public Member Functions inherited from folly::gen::Operator< Sample< Random > > | |
| ResultGen | compose (const GenImpl< Value, Source > &source) const |
Public Member Functions inherited from folly::gen::FBounded< Self > | |
| const Self & | self () const |
| Self & | self () |
Private Attributes | |
| size_t | count_ |
| Random | rng_ |
Additional Inherited Members | |
Protected Member Functions inherited from folly::gen::Operator< Sample< Random > > | |
| Operator ()=default | |
| Operator (Operator &&) noexcept=default | |
| Operator (const Operator &)=default | |
| Operator & | operator= (Operator &&) noexcept=default |
| Operator & | operator= (const Operator &)=default |
Sample - For taking a random sample of N elements from a sequence (without replacement).
Definition at line 871 of file Base-inl.h.
|
inlineexplicit |
|
inline |
|
inline |
|
private |
Definition at line 872 of file Base-inl.h.
|
private |
Definition at line 873 of file Base-inl.h.