MultiAgentDecisionProcess
MaxPlusSolver Class Reference

MaxPlusSolver is the base class for Max Plus methods, it stores the parameters. More...

#include <MaxPlusSolver.h>

Inheritance diagram for MaxPlusSolver:
[legend]

Public Member Functions

 MaxPlusSolver (size_t maxiter=1000, std::string updateType=std::string("PARALL"), int verbosity=2, double damping=0.0, size_t nrSolutions=1, size_t nrRestarts=1)
 (default) Constructor More...
 

Protected Attributes

double _m_damping
 stores the damping factor More...
 
size_t _m_maxiter
 stores the MaxPlus parameter for the max. number of iterations More...
 
size_t _m_nrRestarts
 stores the number of restarts (for non-deterministic Max-Plus variants) More...
 
size_t _m_nrSolutions
 stores the (desired) number of solutions More...
 
std::string _m_updateType
 stores the MaxPlus parameter for the update type More...
 
int _m_verbosity
 stores the MaxPlus parameter for the verbosity level More...
 

Detailed Description

MaxPlusSolver is the base class for Max Plus methods, it stores the parameters.

Constructor & Destructor Documentation

MaxPlusSolver::MaxPlusSolver ( size_t  maxiter = 1000,
std::string  updateType = std::string("PARALL"),
int  verbosity = 2,
double  damping = 0.0,
size_t  nrSolutions = 1,
size_t  nrRestarts = 1 
)

(default) Constructor

Member Data Documentation

double MaxPlusSolver::_m_damping
protected
size_t MaxPlusSolver::_m_maxiter
protected

stores the MaxPlus parameter for the max. number of iterations

Referenced by BGCG_SolverMaxPlus::Solve(), FG_SolverMaxPlus::Solve(), and BGIP_SolverMaxPlus< JP >::Solve().

size_t MaxPlusSolver::_m_nrRestarts
protected

stores the number of restarts (for non-deterministic Max-Plus variants)

Referenced by BGCG_SolverMaxPlus::Solve(), and FG_SolverMaxPlus::Solve().

size_t MaxPlusSolver::_m_nrSolutions
protected

stores the (desired) number of solutions

Referenced by BGCG_SolverMaxPlus::Solve(), and FG_SolverMaxPlus::Solve().

std::string MaxPlusSolver::_m_updateType
protected

stores the MaxPlus parameter for the update type

Referenced by BGCG_SolverMaxPlus::Solve(), FG_SolverMaxPlus::Solve(), and BGIP_SolverMaxPlus< JP >::Solve().

int MaxPlusSolver::_m_verbosity
protected

stores the MaxPlus parameter for the verbosity level

Referenced by BGCG_SolverMaxPlus::Solve(), FG_SolverMaxPlus::Solve(), and BGIP_SolverMaxPlus< JP >::Solve().