MultiAgentDecisionProcess  Release 0.2.1
BGIP_SolverCreator_BFS.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _BGIP_SOLVERCREATOR_BFS_H_
30 #define _BGIP_SOLVERCREATOR_BFS_H_ 1
31 
32 /* the include directives */
33 #include "Globals.h"
35 
36 //We have to include this (otherwise compiler doesn't know that
37 //BGIP_SolverBruteForceSearch is-a BayesianGameIdenticalPayoffSolver
38 //and thus that the virtual function "operator()" is implemented...
40 //class BGIP_SolverBruteForceSearch;
41 
44 template<class JP>
46 {
47  private:
48  size_t _m_verbose;
50 
51  protected:
52 
53  public:
54  // Constructor, destructor and copy assignment.
56  BGIP_SolverCreator_BFS(size_t verbose=0,
57  size_t nrSolutions=1)
58  :
59  _m_verbose(verbose),
60  _m_nrSolutions(nrSolutions)
61  {}
62 
63  //operators:
66  {
67  return(
69  bg,
70  _m_verbose,
72  )
73  );
74  };
75 
76  //data manipulation (set) functions:
77 
78  //get (data) functions:
79  std::string SoftPrint() const
80  {
81  std::stringstream ss;
82  ss << "BGIP_SolverCreator_BFS object with "<<
83  ", _m_verbose="<<_m_verbose <<
84  ", _m_nrSolutions="<<_m_nrSolutions<<
85  std::endl;
86  return (ss.str());
87  }
88 
89 };
90 
91 
92 #endif /* !_BGIP_SOLVERCREATOR_BFS_H_ */
93 
94 // Local Variables: ***
95 // mode:c++ ***
96 // End: ***