MeshKit
1.0
|
00001 // IASolution.hpp 00002 // Interval Assignment Solution for Meshkit 00003 // 00004 00005 #ifndef MESHKIT_IA_IASOLUTION_HP 00006 #define MESHKIT_IA_IASOLUTION_HP 00007 00008 #include <vector> 00009 00010 namespace MeshKit { 00011 00012 class IASolution 00013 { 00014 public: 00016 IASolution() {} 00017 00019 virtual ~IASolution() {} 00020 00021 std::vector<double> x_solution; // intervalSolution, the thing we're solving for. 00022 double obj_value; // relative measure of the goodness of the solution. Smaller is better. 00023 }; 00024 00025 // default constructors and destructors are fine 00026 00027 } // namespace MeshKit 00028 #endif