ompl::base::IterationTerminationCondition Class Reference

A class to run a planner for a specific number of iterations. Casts to a PTC for use with Planner::solve. More...

#include <ompl/base/terminationconditions/IterationTerminationCondition.h>

Public Member Functions

 IterationTerminationCondition (unsigned int numIterations)
 Construct a termination condition that can be evaluated numIterations times before returning true.
 
bool eval ()
 Increment the number of times eval has been called and check if the planner should now terminate.
 
void reset ()
 Reset the number of times the IterationTeriminationCondition has been called.
 
 operator PlannerTerminationCondition ()
 Cast to a PlannerTerminationCondition.
 
unsigned int getTimesCalled () const
 

Detailed Description

A class to run a planner for a specific number of iterations. Casts to a PTC for use with Planner::solve.

Definition at line 112 of file IterationTerminationCondition.h.


The documentation for this class was generated from the following files: