25 #include "sgaction_maxminmax.hpp"
28 typedef list<SGAction_MaxMinMax>::const_iterator SGActionIter;
47 const int _bindingPlayer = -1,
48 const int _bindingPoint = -1):
69 std::string
hash()
const;
72 bool isEqual(
const SGActionIter & _action,
74 const int _bindingPlayer=-1,
75 const int _bindingPoint=-1)
const
79 || (
regime == SG::Binding &&
85 friend ostream& operator<<(ostream& out,
const SGPolicy &);
A policy for the max-min-max algorithm.
Definition: sgpolicy.hpp:34
const SG::Regime & getRegime() const
Regime get method.
Definition: sgpolicy.hpp:59
std::string hash() const
Returns a unique identifying string for the policy.
Definition: sgpolicy.cpp:25
SGPolicy(const SGActionIter &_action, const SG::Regime _regime, const int _bindingPlayer=-1, const int _bindingPoint=-1)
Constructor.
Definition: sgpolicy.hpp:45
bool isEqual(const SGActionIter &_action, const SG::Regime &_regime, const int _bindingPlayer=-1, const int _bindingPoint=-1) const
Tests equality of two policies.
Definition: sgpolicy.hpp:72
const int getBindingPlayer() const
Binding player get method.
Definition: sgpolicy.hpp:62
int bindingPoint
Definition: sgpolicy.hpp:40
const int getBindingPoint() const
Binding point get method.
Definition: sgpolicy.hpp:65
const SGActionIter & getAction() const
Action get method.
Definition: sgpolicy.hpp:56
SG::Regime regime
Definition: sgpolicy.hpp:37
Regime
Indicates which incentive constraints are binding.
Definition: sgnamespace.hpp:160
int bindingPlayer
Definition: sgpolicy.hpp:38
SGActionIter action
Definition: sgpolicy.hpp:36