Go to the documentation of this file. 1 #ifndef AIKIDO_DISTANCE_CONFIGURATIONRANKER_HPP_
2 #define AIKIDO_DISTANCE_CONFIGURATIONRANKER_HPP_
4 #include <dart/dynamics/dynamics.hpp>
29 ::dart::dynamics::ConstMetaSkeletonPtr metaSkeleton,
30 std::vector<double> weights = std::vector<double>());
38 std::vector<statespace::dart::MetaSkeletonStateSpace::ScopedState>&
39 configurations)
const;
61 #endif // AIKIDO_DISTANCE_CONFIGURATIONRANKER_HPP_
std::shared_ptr< const MetaSkeletonStateSpace > ConstMetaSkeletonStateSpacePtr
Definition: MetaSkeletonStateSpace.hpp:17
Format of serialized trajectory in YAML.
Definition: algorithm.hpp:4
std::shared_ptr< DistanceMetric > DistanceMetricPtr
Definition: DistanceMetric.hpp:10
distance::DistanceMetricPtr mDistanceMetric
Distance Metric in this space.
Definition: ConfigurationRanker.hpp:55
ConfigurationRanker is a base class for ranking configurations.
Definition: ConfigurationRanker.hpp:18
::dart::dynamics::ConstMetaSkeletonPtr mMetaSkeleton
Metaskeleton of the robot.
Definition: ConfigurationRanker.hpp:52
statespace::dart::ConstMetaSkeletonStateSpacePtr mMetaSkeletonStateSpace
Statespace of the skeleton.
Definition: ConfigurationRanker.hpp:49
A tuple of states where the i-th state is from the i-th subspace.
Definition: CartesianProduct.hpp:162
void rankConfigurations(std::vector< statespace::dart::MetaSkeletonStateSpace::ScopedState > &configurations) const
Ranks the vector of configurations in increasing order of costs.
ConfigurationRanker(statespace::dart::ConstMetaSkeletonStateSpacePtr metaSkeletonStateSpace, ::dart::dynamics::ConstMetaSkeletonPtr metaSkeleton, std::vector< double > weights=std::vector< double >())
Constructor.
virtual ~ConfigurationRanker()=default
Destructor.
virtual double evaluateConfiguration(const statespace::dart::MetaSkeletonStateSpace::State *solution) const =0
Returns the cost of the configuration.
#define AIKIDO_DECLARE_POINTERS(X)
Definition: pointers.hpp:21