SGSolve
SGPolicy Class Reference

A policy for the max-min-max algorithm. More...

#include <sgpolicy.hpp>

Public Member Functions

 SGPolicy (const SGActionIter &_action, const SG::Regime _regime, const int _bindingPlayer=-1, const int _bindingPoint=-1)
 Constructor.
 
const SGActionIter & getAction () const
 Action get method.
 
const SG::RegimegetRegime () const
 Regime get method.
 
const int getBindingPlayer () const
 Binding player get method.
 
const int getBindingPoint () const
 Binding point get method.
 
std::string hash () const
 Returns a unique identifying string for the policy.
 
bool isEqual (const SGActionIter &_action, const SG::Regime &_regime, const int _bindingPlayer=-1, const int _bindingPoint=-1) const
 Tests equality of two policies.
 

Private Attributes

SGActionIter action
 
SG::Regime regime
 
int bindingPlayer
 
int bindingPoint
 

Friends

bool operator< (const SGPolicy &, const SGPolicy &)
 
ostream & operator<< (ostream &out, const SGPolicy &)
 

Detailed Description

A policy for the max-min-max algorithm.

< This class represents a policy in a single state. Part of the exact computation routine in SGSolver_MaxMinMax_3Player.

Member Data Documentation

◆ action

SGActionIter SGPolicy::action
private

The action.

◆ bindingPlayer

int SGPolicy::bindingPlayer
private

The player with the binding incentive constraint if the regime is binding.

◆ bindingPoint

int SGPolicy::bindingPoint
private

The index of the binding continuation value when the regime is binding.

◆ regime

SG::Regime SGPolicy::regime
private

The regime.


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