QPSParser.h
Go to the documentation of this file.
1 /* ----------------------------------------------------------------------------
2 
3  * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4  * Atlanta, Georgia 30332-0415
5  * All Rights Reserved
6  * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7 
8  * See LICENSE for the license information
9 
10  * -------------------------------------------------------------------------- */
11 
19 #pragma once
20 
22 #include <fstream>
23 
24 namespace gtsam {
25 
26 class QPSParser {
27 
28 private:
29  std::string fileName_;
30  struct MPSGrammar;
31 public:
32 
33  QPSParser(const std::string& fileName) :
34  fileName_(findExampleDataFile(fileName)) {
35  }
36 
37  QP Parse();
38 };
39 }
40 
std::string fileName_
Definition: QPSParser.h:29
string findExampleDataFile(const string &name)
Definition: dataset.cpp:65
traits
Definition: chartTesting.h:28
Factor graphs of a Quadratic Programming problem.
Definition: QP.h:31
QPSParser(const std::string &fileName)
Definition: QPSParser.h:33


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:43:44