codac 1.5.6
Loading...
Searching...
No Matches
codac::DynCtc Class Referenceabstract

Contractor interface. More...

#include <codac_DynCtc.h>

Inheritance diagram for codac::DynCtc:

Public Member Functions

 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.
 

Protected Attributes

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)
 

Detailed Description

Contractor interface.

Constructor & Destructor Documentation

◆ DynCtc()

codac::DynCtc::DynCtc ( bool intertemporal = true)

Creates a contractor.

Parameters
intertemporalset to true if it implements an inter-temporal constraint

Member Function Documentation

◆ preserve_slicing()

void codac::DynCtc::preserve_slicing ( bool preserve = true)

Specifies whether the contractor can impact the tube's slicing or not.

Parameters
preserveif 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_modeif true, fast mode enabled

◆ restrict_tdomain()

void codac::DynCtc::restrict_tdomain ( const Interval & tdomain)

Limits the temporal domain of contractions.

Parameters
tdomainInterval 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: