codac 1.5.6
Loading...
Searching...
No Matches
codac_CtcLohner.h
Go to the documentation of this file.
1
12#ifndef __CODAC_CTCLOHNER_H__
13#define __CODAC_CTCLOHNER_H__
14
15#include "codac_DynCtc.h"
16#include "codac_TFnc.h"
17#include "codac_Slice.h"
18
19
20namespace codac {
21
28class CtcLohner : public codac::DynCtc {
29public:
30
38 explicit CtcLohner(const Function &f, int contractions = 5, double eps = 0.1);
39
47
55
56 /*
57 * \brief Contracts a set of abstract domains
58 *
59 * This method makes the contractor available in the CN framework.
60 *
61 * \param v_domains vector of Domain pointers
62 */
63 void contract(std::vector<codac::Domain *> &v_domains) override;
64
65protected:
66 Function m_f;
68 int dim;
69 double eps;
70
71 static const std::string m_ctc_name;
72 static std::vector<std::string> m_str_expected_doms;
73 friend class ContractorNetwork;
74};
75
76} // namespace codac
77
78#endif
Graph of contractors and domains that model a problem in the constraint programming framework....
Definition codac_ContractorNetwork.h:49
that contracts a tube according to a differential constraint
Definition codac_CtcLohner.h:28
CtcLohner(const Function &f, int contractions=5, double eps=0.1)
Creates a contractor object .
int dim
dimension of the state vector
Definition codac_CtcLohner.h:68
int contractions
number of contractions of the global enclosure by the estimated local enclosure
Definition codac_CtcLohner.h:67
void contract(codac::Tube &tube, TimePropag t_propa=TimePropag::FORWARD|TimePropag::BACKWARD)
Contracts the tube with respect to the specified differential constraint, either forward,...
void contract(codac::TubeVector &tube, TimePropag t_propa=TimePropag::FORWARD|TimePropag::BACKWARD)
Contracts the tube with respect to the specified differential constraint, either forward,...
static std::vector< std::string > m_str_expected_doms
allowed domains signatures (mainly used for CN Exceptions)
Definition codac_CtcLohner.h:72
static const std::string m_ctc_name
class name (mainly used for CN Exceptions)
Definition codac_CtcLohner.h:71
Function m_f
forward function
Definition codac_CtcLohner.h:66
double eps
inflation parameter for the global enclosure
Definition codac_CtcLohner.h:69
Contractor interface.
Definition codac_DynCtc.h:61
One dimensional tube , defined as an interval of scalar trajectories.
Definition codac_Tube.h:48
n-dimensional tube , defined as an interval of n-dimensional trajectories
Definition codac_TubeVector.h:39
FixPoint of a separator The fixpoint of a separator is computed by calling the "::"separate function ...
Definition codac_capd_helpers.h:9
TimePropag
Specifies the temporal propagation way (forward or backward in time)
Definition codac_DynCtc.h:27
@ BACKWARD
backward in time (from to )
@ FORWARD
forward in time (from to )