00001 /* $Id: OSDefaultSolver.h 2698 2009-06-09 04:14:07Z kmartin $ */ 00019 #ifndef DEFAULTSOLVER 00020 #define DEFAULTSOLVER 00021 00022 00023 #include "OSInstance.h" 00024 #include "OSResult.h" 00025 #include "OSOption.h" 00026 00027 #include <string> 00028 00037 class DefaultSolver{ 00038 00039 public: 00040 00041 00042 00044 std::string osil; 00045 00047 std::string osol; 00048 00049 00051 std::string osrl; 00052 00053 00055 OSInstance *osinstance; 00056 00057 00059 OSResult *osresult; 00060 00061 00062 00064 OSOption *osoption; 00065 00067 std::string insList; 00068 00069 00070 00074 std::string sSolverName; 00075 00076 00081 bool bCallbuildSolverInstance; 00082 00083 00088 bool bSetSolverOptions; 00089 00090 00094 virtual void solve() = 0 ; 00095 00100 virtual void buildSolverInstance() = 0 ; 00101 00106 virtual void setSolverOptions() = 0 ; 00107 00111 DefaultSolver(); 00112 00116 virtual ~DefaultSolver() = 0; 00117 00118 00119 00120 00121 00122 00123 00124 }; 00125 00126 00127 #endif