00001 /* $Id: OSDefaultSolver.h 4292 2011-09-21 05:47:18Z kmartin $ */ 00017 #ifndef DEFAULTSOLVER 00018 #define DEFAULTSOLVER 00019 00020 00021 #include "OSInstance.h" 00022 #include "OSResult.h" 00023 #include "OSOption.h" 00024 00025 #include <string> 00026 00035 class DefaultSolver 00036 { 00037 00038 public: 00039 00040 00041 00043 std::string osil; 00044 00046 std::string osol; 00047 00048 00050 std::string osrl; 00051 00052 00054 OSInstance *osinstance; 00055 00056 00058 OSOption *osoption; 00059 00061 OSResult *osresult; 00062 00063 00064 00068 std::string sSolverName; 00069 00070 00075 bool bCallbuildSolverInstance; 00076 00077 00082 bool bSetSolverOptions; 00083 00084 00088 virtual void solve() = 0 ; 00089 00094 virtual void buildSolverInstance() = 0 ; 00095 00100 virtual void setSolverOptions() = 0 ; 00101 00105 DefaultSolver(); 00106 00110 virtual ~DefaultSolver() = 0; 00111 00112 00113 00114 00115 00116 00117 00118 }; 00119 00120 00121 #endif