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