SGSolve
|
Records the progress of SGSolver_MaxMinMax::solve(). More...
#include <sgsolution_maxminmax.hpp>
Public Member Functions | |
SGSolution_MaxMinMax () | |
Default constructor. | |
SGSolution_MaxMinMax (const SGGame &_game) | |
Initializes an SGSolution_MaxMinMax object with a copy of the SGGame _game. | |
const SGGame & | getGame () const |
Get method for the game. | |
const list< SGIteration_MaxMinMax > & | getIterations () const |
Get method for the iterations. | |
void | clear () |
void | push_back (const SGIteration_MaxMinMax &iteration) |
Adds a new iteration to the back of SGSolution_MaxMinMax::iterations. | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Serializes the SGSolution_MaxMinMax object using boost. | |
Static Public Member Functions | |
static void | save (const SGSolution_MaxMinMax &soln, const char *filename) |
Static method for saving an SGSolution_MaxMinMax object to the file filename. | |
static void | load (SGSolution_MaxMinMax &soln, const char *filename) |
Static method for loading an SGSolution_MaxMinMax object from the file filename. | |
Private Attributes | |
SGGame | game |
list< SGIteration_MaxMinMax > | iterations |
Friends | |
class | boost::serialization::access |
Records the progress of SGSolver_MaxMinMax::solve().
This class contains a copy of the game used by SGSolver_MaxMinMax, a list of iterations generated by SGSolver_MaxMinMax::solve().
|
inline |
Resets the SGSolution_MaxMinMax object by clearing the iterations and extremeTuples lists.
|
private |
The game that was solved.
|
private |
A list of SGIteration_MaxMinMax objects tracking the progress of SGSolver::solve().