STK++ 0.9.13
STK::FullStrategyParam Struct Reference

helper structure encapsulating the parameters of the Full strategy More...

#include <STK_FullStrategy.h>

Public Member Functions

 FullStrategyParam ()
 Constructor.
 
virtual ~FullStrategyParam ()
 destructor
 
 FullStrategyParam ()
 Constructor.
 
virtual ~FullStrategyParam ()
 destructor
 

Public Attributes

int nbInitRun_
 number of initialization run to perform
 
int nbShortRun_
 number of short run to perform
 
IMixtureAlgop_shortAlgo_
 algorithm to use in short runs

 
IMixtureAlgop_longAlgo_
 algorithm to use in long run

 

Detailed Description

helper structure encapsulating the parameters of the Full strategy

Definition at line 50 of file STK_FullStrategy.h.

Constructor & Destructor Documentation

◆ FullStrategyParam() [1/2]

STK::FullStrategyParam::FullStrategyParam ( )
inline

Constructor.

Set default values

Definition at line 52 of file STK_FullStrategy.h.

53 {}
IMixtureAlgo * p_longAlgo_
algorithm to use in long run
IMixtureAlgo * p_shortAlgo_
algorithm to use in short runs
int nbShortRun_
number of short run to perform
int nbInitRun_
number of initialization run to perform

◆ ~FullStrategyParam() [1/2]

STK::FullStrategyParam::~FullStrategyParam ( )
virtual

destructor

Definition at line 46 of file STK_FullStrategy.cpp.

47{
48 if (p_shortAlgo_) delete p_shortAlgo_;
49 if (p_longAlgo_) delete p_longAlgo_;
50}

References p_longAlgo_, and p_shortAlgo_.

◆ FullStrategyParam() [2/2]

STK::FullStrategyParam::FullStrategyParam ( )
inline

Constructor.

Set default values

Definition at line 152 of file STK_MixtureStrategy.h.

153 {}

◆ ~FullStrategyParam() [2/2]

virtual STK::FullStrategyParam::~FullStrategyParam ( )
virtual

destructor

Member Data Documentation

◆ nbInitRun_

int STK::FullStrategyParam::nbInitRun_

number of initialization run to perform

Definition at line 57 of file STK_FullStrategy.h.

Referenced by STK::FullStrategy::initStep().

◆ nbShortRun_

int STK::FullStrategyParam::nbShortRun_

number of short run to perform

Definition at line 59 of file STK_FullStrategy.h.

Referenced by STK::FullStrategy::run().

◆ p_longAlgo_

IMixtureAlgo * STK::FullStrategyParam::p_longAlgo_

algorithm to use in long run

Definition at line 63 of file STK_FullStrategy.h.

Referenced by STK::FullStrategy::run(), and ~FullStrategyParam().

◆ p_shortAlgo_

IMixtureAlgo * STK::FullStrategyParam::p_shortAlgo_

algorithm to use in short runs

Definition at line 61 of file STK_FullStrategy.h.

Referenced by STK::FullStrategy::initStep(), STK::FullStrategy::run(), and ~FullStrategyParam().


The documentation for this struct was generated from the following files: