GeneticSearch.h
unsigned int getPoolSize() const
Get the number number of individuals in the population.
Definition: GeneticSearch.h:216
bool solve(double solveTime, const base::GoalRegion &goal, base::State *result, const std::vector< base::State * > &hint=std::vector< base::State * >())
Find a state that fits the request.
Definition: GeneticSearch.cpp:64
void setPoolSize(unsigned int size)
Set the number of individuals in the population.
Definition: GeneticSearch.h:210
unsigned int getPoolMutationSize() const
Get the number of individuals that are mutated at each generation.
Definition: GeneticSearch.h:228
void setValidityCheck(bool valid)
Set the state validity flag; if this is false, states are not checked for validity.
Definition: HillClimbing.h:186
void setMaxImproveSteps(unsigned int maxSteps)
Set the number of steps to perform when using hill climbing to improve an individual in the populatio...
Definition: GeneticSearch.h:170
unsigned int getPoolRandomSize() const
Get the number of individuals to randomly sample at each generation.
Definition: GeneticSearch.h:240
bool getTryImprove() const
Returns true if improvements using hill climbing should be attempted for solutions generated by the g...
Definition: GeneticSearch.h:204
void setPoolRandomSize(unsigned int size)
Set the number of individuals to randomly sample at each generation.
Definition: GeneticSearch.h:234
unsigned int getMaxImproveSteps() const
Get the number of steps to perform.
Definition: HillClimbing.h:180
void setTryImprove(bool flag)
Set the flag that determines whether improvements using hill climbing should be attempted for solutio...
Definition: GeneticSearch.h:197
void setValidityCheck(bool valid)
Set the state validity flag; if this is false, states are not checked for validity.
Definition: GeneticSearch.h:183
void setRange(double distance)
Set the range (distance) to be used when sampling around a state.
Definition: GeneticSearch.h:246
bool getValidityCheck() const
Get the state validity flag; if this is false, states are not checked for validity.
Definition: GeneticSearch.h:190
unsigned int getMaxImproveSteps() const
Get the number of steps to perform when using hill climbing to improve an individual in the populatio...
Definition: GeneticSearch.h:177
void setMaxImproveSteps(unsigned int steps)
Set the number of steps to perform.
Definition: HillClimbing.h:174
GeneticSearch(const base::SpaceInformationPtr &si)
Construct an instance of a genetic algorithm for inverse kinematics given the space information to se...
Definition: GeneticSearch.cpp:44
void setPoolMutationSize(unsigned int size)
Set the number of individuals to mutate at each generation.
Definition: GeneticSearch.h:222
Main namespace. Contains everything in this library.
Definition: MultiLevelPlanarManipulatorDemo.cpp:65