#include <TSPSolver.h>
Public Member Functions | |
void | getActions (const std::vector< unsigned int > &traj, std::vector< unsigned int > &actions) |
void | getSolution (std::vector< std::vector< double > > &joint_path, std::vector< tf::Pose > &pose_path, std::vector< unsigned int > &action, std::vector< unsigned int > &res_traj) |
TSPSolver () | |
TSPSolver (double max_adjacency) | |
Private Member Functions | |
void | computeWeightMatrix (Eigen::MatrixXf &weigths) |
void | transformGTSPToTSP (const Eigen::VectorXi &multinode_mapping, Eigen::MatrixXi &adj_bool, Eigen::MatrixXf &adj_float) |
Definition at line 10 of file TSPSolver.h.
Definition at line 13 of file TSPSolver.cpp.
TSPSolver::TSPSolver | ( | double | max_adjacency | ) |
Definition at line 17 of file TSPSolver.cpp.
void TSPSolver::computeWeightMatrix | ( | Eigen::MatrixXf & | weigths | ) | [private] |
Definition at line 114 of file TSPSolver.cpp.
void TSPSolver::getActions | ( | const std::vector< unsigned int > & | traj, |
std::vector< unsigned int > & | actions | ||
) | [virtual] |
Implements SolverInterface.
Definition at line 139 of file TSPSolver.cpp.
void TSPSolver::getSolution | ( | std::vector< std::vector< double > > & | joint_path, |
std::vector< tf::Pose > & | pose_path, | ||
std::vector< unsigned int > & | action, | ||
std::vector< unsigned int > & | res_traj | ||
) | [virtual] |
Implements SolverInterface.
Definition at line 22 of file TSPSolver.cpp.
void TSPSolver::transformGTSPToTSP | ( | const Eigen::VectorXi & | multinode_mapping, |
Eigen::MatrixXi & | adj_bool, | ||
Eigen::MatrixXf & | adj_float | ||
) | [private] |