gtsam/gtsam_unstable/linear/QPSParser.h

42 lines
871 B
C
Raw Normal View History

2016-06-18 03:24:55 +08:00
/* ----------------------------------------------------------------------------
* GTSAM Copyright 2010, Georgia Tech Research Corporation,
* Atlanta, Georgia 30332-0415
* All Rights Reserved
* Authors: Frank Dellaert, et al. (see THANKS for the full author list)
* See LICENSE for the license information
* -------------------------------------------------------------------------- */
/**
* @file QPSParser.h
* @brief QPS parser implementation
* @author Ivan Dario Jimenez
2016-06-18 03:24:55 +08:00
* @date 3/5/16
*/
#pragma once
2023-07-20 13:03:42 +08:00
#include <gtsam_unstable/dllexport.h>
#include <gtsam_unstable/linear/QP.h>
#include <fstream>
namespace gtsam {
2023-07-20 13:03:42 +08:00
class GTSAM_UNSTABLE_EXPORT QPSParser {
private:
std::string fileName_;
struct MPSGrammar;
public:
QPSParser(const std::string& fileName) :
fileName_(findExampleDataFile(fileName)) {
}
QP Parse();
};
}