Apollo  6.0
Open source self driving car software
Namespaces | Functions
search.h File Reference

Search-related functions. More...

#include <functional>
Include dependency graph for search.h:

Go to the source code of this file.

Namespaces

 apollo::common::math
 apollo::common::math
 
 apollo
 PlanningContext is the runtime context in planning. It is persistent across multiple frames.
 
 apollo::common
 apollo::common
 

Functions

double apollo::common::math::GoldenSectionSearch (const std::function< double(double)> &func, const double lower_bound, const double upper_bound, const double tol=1e-6)
 Given a unimodal function defined on the interval, find a value on the interval to minimize the function. Reference: https://en.wikipedia.org/wiki/Golden-section_search. More...
 

Detailed Description

Search-related functions.