43 #ifndef ILQGAMES_COST_RELATIVE_DISTANCE_COST_H 44 #define ILQGAMES_COST_RELATIVE_DISTANCE_COST_H 46 #include <ilqgames/cost/time_invariant_cost.h> 47 #include <ilqgames/utils/types.h> 49 #include <glog/logging.h> 60 const std::pair<Dimension, Dimension>& dims1,
61 const std::pair<Dimension, Dimension>& dims2,
62 const std::string& name =
"")
66 float Evaluate(
const VectorXf& input)
const;
70 void Quadraticize(
const VectorXf& input, MatrixXf* hess,
71 VectorXf* grad)
const;
75 const std::pair<Dimension, Dimension> dims1_, dims2_;