sam::GroupPooling¶
Module: Hacking Strategies
#include <HackingStrategy.h>
Inherits from sam::HackingStrategy
Public Classes¶
Name | |
---|---|
struct | Parameters |
Public Functions¶
Name | |
---|---|
GroupPooling() =default | |
GroupPooling(const Parameters & p) | |
virtual void | perform(Experiment * experiment) override |
Public Attributes¶
Name | |
---|---|
Parameters | params |
Additional inherited members¶
Public Functions inherited from sam::HackingStrategy
Name | |
---|---|
virtual | ~HackingStrategy() =0 Pure destructor of the Base class. This is important for proper deconstruction of Derived classes. |
HackingStrategy() | |
void | operator()(Experiment * experiment) |
float | defensibility() const |
float | prevalence() const |
HackingStage | stage() const |
HackingTarget | target() const |
std::unique_ptr< HackingStrategy > | build(json & hacking_strategy_config) Factory method for building a HackingStrategy. |
Public Attributes inherited from sam::HackingStrategy
Name | |
---|---|
sol::state | lua |
std::optional< float > | defensibility_ |
std::optional< float > | prevalence_ |
HackingStage | stage_ |
HackingTarget | target_ |
Detailed Description¶
class sam::GroupPooling;
Declaration of GroupPooling hacking strategy
Public Functions Documentation¶
function GroupPooling¶
GroupPooling() =default
function GroupPooling¶
inline explicit GroupPooling(
const Parameters & p
)
function perform¶
virtual void perform(
Experiment * experiment
) override
Parameters:
- experiment A pointer to researcher's experiment
- researchStrategy A pointer to researcher's research strategy
Reimplements: sam::HackingStrategy::perform
Perform Group Pooling on the given Experiment.
Todothis can be replaced by addNewDependentVariable
adding a new group TodoThis can be replaced by addNewCondition
Public Attributes Documentation¶
variable params¶
Parameters params;
Updated on 29 June 2021 at 16:13:47 CEST
Last update: 2021-09-18