ROC++  v1.2
Automatic Robust Optimization in C++
DecisionRuleIF Class Referenceabstract

Decision rule approximator interface. More...

#include <DecisionRule.hpp>

Inheritance diagram for DecisionRuleIF:

Public Member Functions

 DecisionRuleIF (uint memory=1000)
 Constructor of the DecisionRuleIF class. More...
 
virtual ~DecisionRuleIF ()
 Destructor of the DecisionRuleIF class. More...
 
uint getMemory () const
 
virtual ROCPPOptModelIF_Ptr approximate (ROCPPOptModelIF_Ptr pIn)=0
 

Protected Attributes

uint m_memory
 Memory of this approximator. More...
 

Detailed Description

Decision rule approximator interface.

Constructor & Destructor Documentation

◆ DecisionRuleIF()

DecisionRuleIF::DecisionRuleIF ( uint  memory = 1000)
inline

Constructor of the DecisionRuleIF class.

Parameters
memorymemory of the decision rule: number of time-periods for which the decision-maker can recall information observed

◆ ~DecisionRuleIF()

virtual DecisionRuleIF::~DecisionRuleIF ( )
inlinevirtual

Destructor of the DecisionRuleIF class.

Member Function Documentation

◆ approximate()

virtual ROCPPOptModelIF_Ptr DecisionRuleIF::approximate ( ROCPPOptModelIF_Ptr  pIn)
pure virtual

◆ getMemory()

uint DecisionRuleIF::getMemory ( ) const
inline

Member Data Documentation

◆ m_memory

uint DecisionRuleIF::m_memory
protected

Memory of this approximator.