MultiAgentDecisionProcess  Release 0.2.1
gmaatype.cpp
Go to the documentation of this file.
1 
29 using namespace std;
30 
31 #include "gmaatype.h"
32 #include "E.h"
33 
34 std::string GMAAtype::SoftPrint(GMAA_t type)
35 {
36  switch(type)
37  {
38  case MAAstar:
39  return("MAAstar");
40  break;
41  case FSPC:
42  return("FSPC");
43  break;
44  case kGMAA:
45  return("kGMAA");
46  break;
47  }
48 
49  throw(E("GMAAtype::SoftPrint invalid type"));
50 
51  return("INVALIDQMAATYPE");
52 }