Information about a known good sample (closer to the goal than others) More...
#include <KPIECE1.h>
Public Member Functions | |
| CloseSample (Grid::Cell *c, Motion *m, double d) | |
| Constructor fully initializes the content of this structure. | |
| bool | operator< (const CloseSample &other) const |
| Sort samples in accordance to their distance to the goal. | |
Public Attributes | |
| Grid::Cell * | cell |
| The cell of the motion that is close to the goal. | |
| Motion * | motion |
| The motion that is close to the goal. | |
| double | distance |
| The distance to the goal. This value is increased over time, as the number of selections for this sample increases. | |
Information about a known good sample (closer to the goal than others)