STK++ 0.9.13
STK::XemStrategyParam Struct Reference

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

#include <STK_MixtureStrategy.h>

Public Member Functions

 XemStrategyParam ()
 Constructor.
 
virtual ~XemStrategyParam ()
 destructor
 
 XemStrategyParam ()
 Constructor.
 
virtual ~XemStrategyParam ()
 destructor
 

Public Attributes

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 Xem strategy

Definition at line 96 of file STK_MixtureStrategy.h.

Constructor & Destructor Documentation

◆ XemStrategyParam() [1/2]

STK::XemStrategyParam::XemStrategyParam ( )
inline

Constructor.

Set default values

Definition at line 98 of file STK_MixtureStrategy.h.

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

◆ ~XemStrategyParam() [1/2]

STK::XemStrategyParam::~XemStrategyParam ( )
virtual

destructor

Definition at line 47 of file STK_XemStrategy.cpp.

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

References p_longAlgo_, and p_shortAlgo_.

◆ XemStrategyParam() [2/2]

STK::XemStrategyParam::XemStrategyParam ( )
inline

Constructor.

Set default values

Definition at line 51 of file STK_XemStrategy.h.

52 {}

◆ ~XemStrategyParam() [2/2]

virtual STK::XemStrategyParam::~XemStrategyParam ( )
virtual

destructor

Member Data Documentation

◆ nbShortRun_

int STK::XemStrategyParam::nbShortRun_

number of short run to perform

Definition at line 103 of file STK_MixtureStrategy.h.

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

◆ p_longAlgo_

IMixtureAlgo * STK::XemStrategyParam::p_longAlgo_

algorithm to use in long run

Definition at line 107 of file STK_MixtureStrategy.h.

Referenced by STK::XemStrategy::run(), and ~XemStrategyParam().

◆ p_shortAlgo_

IMixtureAlgo * STK::XemStrategyParam::p_shortAlgo_

algorithm to use in short runs

Definition at line 105 of file STK_MixtureStrategy.h.

Referenced by STK::XemStrategy::run(), and ~XemStrategyParam().


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