codac
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 
20 namespace codac {
21 
28 class CtcLohner : public codac::DynCtc {
29 public:
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 
65 protected:
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
FixPoint of a separator The fixpoint of a separator is computed by calling the "::"separate function ...
Definition: codac_capd_helpers.h:9
int dim
dimension of the state vector
Definition: codac_CtcLohner.h:68
Contractor interface.
Definition: codac_DynCtc.h:60
Graph of contractors and domains that model a problem in the constraint programming framework...
Definition: codac_ContractorNetwork.h:48
backward in time (from to )
int contractions
number of contractions of the global enclosure by the estimated local enclosure
Definition: codac_CtcLohner.h:67
CtcLohner(const Function &f, int contractions=5, double eps=0.1)
Creates a contractor object .
n-dimensional tube , defined as an interval of n-dimensional trajectories
Definition: codac_TubeVector.h:38
that contracts a tube according to a differential constraint
Definition: codac_CtcLohner.h:28
static std::vector< std::string > m_str_expected_doms
allowed domains signatures (mainly used for CN Exceptions)
Definition: codac_CtcLohner.h:72
One dimensional tube , defined as an interval of scalar trajectories.
Definition: codac_Tube.h:47
forward in time (from to )
double eps
inflation parameter for the global enclosure
Definition: codac_CtcLohner.h:69
Function m_f
forward function
Definition: codac_CtcLohner.h:66
void contract(codac::TubeVector &tube, TimePropag t_propa=TimePropag::FORWARD|TimePropag::BACKWARD)
Contracts the tube with respect to the specified differential constraint, either forward, backward (or both) in time.
TimePropag
Specifies the temporal propagation way (forward or backward in time)
Definition: codac_DynCtc.h:26
static const std::string m_ctc_name
class name (mainly used for CN Exceptions)
Definition: codac_CtcLohner.h:71