28 #ifndef OPTIMIZERTORO_H_ 29 #define OPTIMIZERTORO_H_ 40 static bool available();
43 static bool loadGraph(
44 const std::string & fileName,
45 std::map<int, Transform> & poses,
46 std::multimap<int, Link> & edgeConstraints);
50 int iterations = Parameters::defaultOptimizerIterations(),
51 bool slam2d = Parameters::defaultRegForce3DoF(),
52 bool covarianceIgnored = Parameters::defaultOptimizerVarianceIgnored(),
53 double epsilon = Parameters::defaultOptimizerEpsilon()) :
61 virtual std::map<int, Transform> optimize(
63 const std::map<int, Transform> & poses,
64 const std::multimap<int, Link> & edgeConstraints,
65 cv::Mat & outputCovariance,
66 std::list<std::map<int, Transform> > * intermediateGraphes = 0,
67 double * finalError = 0,
68 int * iterationsDone = 0);
71 const std::string & fileName,
72 const std::map<int, Transform> & poses,
73 const std::multimap<int, Link> & edgeConstraints);
std::map< std::string, std::string > ParametersMap
virtual Type type() const
OptimizerTORO(const ParametersMap ¶meters)
OptimizerTORO(int iterations=Parameters::defaultOptimizerIterations(), bool slam2d=Parameters::defaultRegForce3DoF(), bool covarianceIgnored=Parameters::defaultOptimizerVarianceIgnored(), double epsilon=Parameters::defaultOptimizerEpsilon())