Contractor interface.
More...
#include <codac_DynCtc.h>
|
| DynCtc (bool intertemporal=true) |
| Creates a contractor.
|
|
virtual | ~DynCtc () |
| DynCtc destructor.
|
|
void | preserve_slicing (bool preserve=true) |
| Specifies whether the contractor can impact the tube's slicing or not.
|
|
void | set_fast_mode (bool fast_mode=true) |
| Specifies an optional fast mode of contraction.
|
|
void | restrict_tdomain (const Interval &tdomain) |
| Limits the temporal domain of contractions.
|
|
bool | is_intertemporal () const |
| Tests if the related constraint is inter-temporal or not.
|
|
|
bool | m_preserve_slicing = true |
| if true , tube's slicing will not be affected by the contractor
|
|
bool | m_fast_mode = false |
| some contractors may propose more pessimistic but faster execution modes
|
|
Interval | m_restricted_tdomain |
| limits the contractions to the specified temporal domain
|
|
const bool | m_intertemporal = true |
| defines if the related constraint is inter-temporal or not (true by default)
|
|
◆ DynCtc()
codac::DynCtc::DynCtc |
( |
bool | intertemporal = true | ) |
|
Creates a contractor.
- Parameters
-
intertemporal | set to true if it implements an inter-temporal constraint |
◆ preserve_slicing()
void codac::DynCtc::preserve_slicing |
( |
bool | preserve = true | ) |
|
Specifies whether the contractor can impact the tube's slicing or not.
- Parameters
-
preserve | if true, the slicing will remain the same |
◆ set_fast_mode()
void codac::DynCtc::set_fast_mode |
( |
bool | fast_mode = true | ) |
|
Specifies an optional fast mode of contraction.
- Note
- For some contractors, pessimistic but faster contractions can be achieved.
- Parameters
-
fast_mode | if true, fast mode enabled |
◆ restrict_tdomain()
void codac::DynCtc::restrict_tdomain |
( |
const Interval & | tdomain | ) |
|
Limits the temporal domain of contractions.
- Parameters
-
tdomain | Interval tdomain of restriction \([t_1,t_2]\) |
◆ is_intertemporal()
bool codac::DynCtc::is_intertemporal |
( |
| ) |
const |
Tests if the related constraint is inter-temporal or not.
- Returns
true
in case of inter-temporality
The documentation for this class was generated from the following file: