improve comments

This commit is contained in:
v4hn 2020-06-19 23:07:57 +02:00
parent f3fec26f5a
commit 9060404037
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ private:
double cost_;
};
/// define cost as execution duration of the whole trajectory
/// execution duration of the whole trajectory
double PathLengthCost(const SubTrajectory& s);
}
}

View File

@ -231,7 +231,7 @@ public:
/* \brief set CostTransform to be applied to costs of this stage's solution costs
*
* This interface can be used to modify the cost associated with each solution of this stage/container.
* The most common case would be linear weighting `[=a](double c){ return a*c; }`
* The most common case would be linear weighting `[](double cost){ return constant*cost; }`
* but any non-linear transform is obviously possible as well.
*/
void setCostTransform(const CostTransform& transform);