Hill Climbing search. More...
|HillClimbing (base::SpaceInformationPtr si)|
|bool||tryToImprove (const base::GoalRegion &goal, base::State *state, double nearDistance, double *betterGoalDistance=nullptr) const|
|Try to improve a state (reduce distance to goal). The updates are performed by sampling near the state, within the specified distance. If improvements were found, the function returns true and the better goal distance is optionally returned. |
|void||setMaxImproveSteps (unsigned int steps)|
|Set the number of steps to perform. |
|unsigned int||getMaxImproveSteps () const|
|Get the number of steps to perform. |
|void||setValidityCheck (bool valid)|
|Set the state validity flag; if this is false, states are not checked for validity. |
|bool||getValidityCheck () const|
|Get the state validity flag; if this is false, states are not checked for validity. |
Hill Climbing search.
- Short description
HillClimbing searches for a state using hill climbing, starting from a given seed state.
- External documentation
The documentation for this class was generated from the following files: