1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// IASolution.hpp
// Interval Assignment Solution for Meshkit
//

#ifndef MESHKIT_IA_IASOLUTION_HP
#define MESHKIT_IA_IASOLUTION_HP
 
#include <vector>

namespace MeshKit {
    
class IASolution
{
public:
  /** default constructor */
  IASolution() {}<--- Member variable 'IASolution::obj_value' is not initialized in the constructor.

  /** default destructor */
  virtual ~IASolution() {}

  std::vector<double> x_solution; // intervalSolution, the thing we're solving for.
  double obj_value; // relative measure of the goodness of the solution. Smaller is better.
};

// default constructors and destructors are fine

} // namespace MeshKit
#endif