SHOGUN
6.0.0
|
Class that holds a block feature. A block feature is a shallow copy of an underlying (non-owning) feature object. In its constructor, it increases the refcount of the original object (since it has to be alive as long as the block is alive) and it decreases the refcount of the original object in destructor.
Definition at line 52 of file statistical_testing/internals/Block.h.
Public Member Functions | |
Block (const Block &other) | |
Block & | operator= (const Block &other) |
~Block () | |
operator CFeatures * () | |
Static Public Member Functions | |
static std::vector< Block > | create_blocks (CFeatures *feats, index_t num_blocks, index_t size) |
~Block | ( | ) |
operator CFeatures * | ( | ) |
Operator overloading for getting the block object as a naked ptr (non-const, unsafe).
Definition at line 97 of file statistical_testing/internals/Block.h.