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

Function Documentation

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

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