26 lines
573 B
C++
26 lines
573 B
C++
/*
|
|
* h
|
|
* Author: Richard Roberts
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
#include <list>
|
|
#include <gtsam/inference/FactorGraph.h>
|
|
#include <gtsam/inference/SymbolicFactor.h>
|
|
#include <gtsam/inference/SymbolicBayesNet.h>
|
|
#include <gtsam/inference/Key.h>
|
|
#include <gtsam/geometry/Point2.h>
|
|
#include <gtsam/nonlinear/LieConfig.h>
|
|
|
|
namespace gtsam {
|
|
|
|
class Point2;
|
|
typedef LieConfig<Symbol, Point2> SymbolicConfig;
|
|
|
|
// save graph to the graphviz format
|
|
void saveGraph(const SymbolicFactorGraph& fg, const SymbolicConfig& config, const std::string& s);
|
|
|
|
} // namespace gtsam
|