gtsam  4.1.0
gtsam
QPSParser.h
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 
gtsam::QP
Struct contains factor graphs of a Quadratic Programming problem.
Definition: QP.h:31
gtsam
Global functions in a separate testing namespace.
Definition: chartTesting.h:28
QP.h
Factor graphs of a Quadratic Programming problem.
gtsam::findExampleDataFile
string findExampleDataFile(const string &name)
Find the full path to an example dataset distributed with gtsam.
Definition: dataset.cpp:65
gtsam::QPSParser
Definition: QPSParser.h:26