43 #ifndef ILQGAMES_COST_SIGNED_DISTANCE_COST_H 44 #define ILQGAMES_COST_SIGNED_DISTANCE_COST_H 46 #include <ilqgames/cost/time_invariant_cost.h> 47 #include <ilqgames/utils/types.h> 56 const std::pair<Dimension, Dimension>& dims2,
57 float nominal = 0.0,
bool less_is_positive =
true,
58 const std::string& name =
"")
65 less_is_positive_(less_is_positive) {
73 float Evaluate(
const VectorXf& input)
const;
77 void Quadraticize(
const VectorXf& input, MatrixXf* hess,
78 VectorXf* grad)
const;
82 const Dimension xdim1_, ydim1_;
83 const Dimension xdim2_, ydim2_;
89 const bool less_is_positive_;