ompl::Parameter Class Reference

Parameter represents a smooth interpolation between two parameter values, namely valueInit and valueTarget. The default class keeps a counter to track how often it was called. Starting at counterInit we then count towards counterTarget and smoothly interpolate parameter values inbetween. More...

#include <ompl/multilevel/datastructures/Parameter.h>

Inheritance diagram for ompl::Parameter:

Public Member Functions

 Parameter (double valueInit)
 
 Parameter (double valueInit, double valueTarget)
 
void setValueInit (double valueInit)
 Set initial value (default: 0.0)
 
void setValueTarget (double valueTarget)
 Set target value (default: 1.0)
 
void setCounterInit (unsigned long long counterInit)
 Set counter init value (default: 0)
 
void setCounterTarget (unsigned long long counterTarget)
 Set counter target value (default: 100)
 
double getValueInit ()
 Get init value.
 
double getValueTarget ()
 Get target value.
 
unsigned long long getCounterInit ()
 Get counter init value.
 
unsigned long long getCounterTarget ()
 Get counter target value.
 
double operator() (void)
 Call parameter and increase counter.
 
void reset ()
 Reset counter to init counter.
 
unsigned long long getCounter ()
 Get current counter.
 
void incrementCounter ()
 Increment counter.
 

Detailed Description

Parameter represents a smooth interpolation between two parameter values, namely valueInit and valueTarget. The default class keeps a counter to track how often it was called. Starting at counterInit we then count towards counterTarget and smoothly interpolate parameter values inbetween.

Definition at line 85 of file Parameter.h.


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