17std::string serializeGraph(
const NonlinearFactorGraph& graph);
19NonlinearFactorGraph::shared_ptr deserializeGraph(
const std::string& serialized_graph);
21std::string serializeGraphXML(
const NonlinearFactorGraph& graph,
22 const std::string& name =
"graph");
24NonlinearFactorGraph::shared_ptr deserializeGraphXML(
const std::string& serialized_graph,
25 const std::string& name =
"graph");
29std::string serializeValues(
const Values& values);
33std::string serializeValuesXML(
const Values& values,
const std::string& name =
"values");
36 const std::string& name =
"values");
43bool serializeGraphToFile(
const NonlinearFactorGraph& graph,
const std::string& fname);
44bool serializeGraphToXMLFile(
const NonlinearFactorGraph& graph,
45 const std::string& fname,
const std::string& name =
"graph");
47bool serializeValuesToFile(
const Values& values,
const std::string& fname);
48bool serializeValuesToXMLFile(
const Values& values,
49 const std::string& fname,
const std::string& name =
"values");
52NonlinearFactorGraph::shared_ptr deserializeGraphFromFile(
const std::string& fname);
53NonlinearFactorGraph::shared_ptr deserializeGraphFromXMLFile(
const std::string& fname,
54 const std::string& name =
"graph");
58 const std::string& name =
"values");
Factor Graph consisting of non-linear factors.
Global functions in a separate testing namespace.
Definition: chartTesting.h:28
boost::shared_ptr< Values > shared_ptr
A shared_ptr to this class.
Definition: Values.h:89