Function ompl::base::operator*(double, const OptimizationObjectivePtr&)

Function Documentation

OptimizationObjectivePtr ompl::base::operator*(double weight, const OptimizationObjectivePtr &a)

Given a weighing factor and an optimization objective, returns a MultiOptimizationObjective containing only this objective weighted by the given weight.