22 #ifndef _SGITERATION_HPP
23 #define _SGITERATION_HPP
26 #include "sgaction_pencilsharpening.hpp"
27 #include <boost/archive/text_iarchive.hpp>
28 #include <boost/archive/text_oarchive.hpp>
29 #include <boost/serialization/utility.hpp>
80 bool storeActions =
true);
109 template<
class Archive>
int revolution
Definition: sgiteration_pencilsharpening.hpp:46
int numExtremeTuples
Definition: sgiteration_pencilsharpening.hpp:47
vector< int > actionTuple
The current action tuple.
Definition: sgiteration_pencilsharpening.hpp:62
const SGPoint & getDirection() const
Get method for the current direction.
Definition: sgiteration_pencilsharpening.hpp:91
SG::Regime getRegime() const
Get method for the regime corresponding to the best direction.
Definition: sgiteration_pencilsharpening.hpp:99
Approximation of the equilibrium payoff correspondence.
Definition: sgapprox.hpp:49
const SGTuple & getPivot() const
Get method for the current pivot.
Definition: sgiteration_pencilsharpening.hpp:89
int getNumExtremeTuples() const
Get method for the number of extreme tuples.
Definition: sgiteration_pencilsharpening.hpp:87
int getRevolution() const
Get method for the revolution.
Definition: sgiteration_pencilsharpening.hpp:85
int getBestState() const
Get method for the best state.
Definition: sgiteration_pencilsharpening.hpp:95
int bestAction
The action that generated the best direction.
Definition: sgiteration_pencilsharpening.hpp:58
const vector< vector< SGBaseAction > > & getActions() const
Get method for the actions available at the current iteration.
Definition: sgiteration_pencilsharpening.hpp:93
vector< vector< SGBaseAction > > actions
Definition: sgiteration_pencilsharpening.hpp:51
const vector< int > & getActionTuple() const
Get method for the action tuple.
Definition: sgiteration_pencilsharpening.hpp:101
int iteration
Definition: sgiteration_pencilsharpening.hpp:45
SGTuple pivot
Definition: sgiteration_pencilsharpening.hpp:48
const vector< SG::Regime > & getRegimeTuple() const
Get method for the regime tuple.
Definition: sgiteration_pencilsharpening.hpp:103
Stores data on the behavior of SGApprox::generate()
Definition: sgiteration_pencilsharpening.hpp:43
int getBestAction() const
Get method for the best action.
Definition: sgiteration_pencilsharpening.hpp:97
int getIteration() const
Get method for the iteration.
Definition: sgiteration_pencilsharpening.hpp:83
int bestState
The state that generated the best direction.
Definition: sgiteration_pencilsharpening.hpp:56
A vector in .
Definition: sgpoint.hpp:35
const SGTuple & getThreatTuple() const
Get method for the current threat tuple.
Definition: sgiteration_pencilsharpening.hpp:105
friend class boost::serialization::access
Serializes the SGIteration object using boost.
Definition: sgiteration_pencilsharpening.hpp:108
SGTuple threatTuple
The current threat tuple.
Definition: sgiteration_pencilsharpening.hpp:66
SGPoint direction
Definition: sgiteration_pencilsharpening.hpp:49
vector< SG::Regime > regimeTuple
The states in which IC constraints are not binding.
Definition: sgiteration_pencilsharpening.hpp:64
void serialize(Archive &ar, const unsigned int version)
Serialize the iteration using Boost.
Definition: sgiteration_pencilsharpening.hpp:112
Regime
Indicates which incentive constraints are binding.
Definition: sgnamespace.hpp:160
Definition: sgtuple.hpp:52
SG::Regime regime
True if the best direction was non-binding.
Definition: sgiteration_pencilsharpening.hpp:60
SGIteration_PencilSharpening()
Default constructor.
Definition: sgiteration_pencilsharpening.hpp:70
- src
- hpp
- sgiteration_pencilsharpening.hpp