codac
1.5.6
Loading...
Searching...
No Matches
src
core
contractors
codac2_CtcFixpoint.h
Go to the documentation of this file.
1
9
10
#pragma once
11
12
#include "
codac2_CtcWrapper.h
"
13
#include "
codac2_Collection.h
"
14
#include "
codac2_IntervalVector.h
"
15
#include "
codac2_template_tools.h
"
16
17
namespace
codac2
18
{
19
class
CtcFixpoint :
public
Ctc<CtcFixpoint,IntervalVector>
20
{
21
public
:
22
23
template
<
typename
C>
24
requires
IsCtcBaseOrPtr<C,IntervalVector>
25
CtcFixpoint(
const
C& c,
double
ratio = 0.1)
26
: Ctc<CtcFixpoint,IntervalVector>(size_of(c)), _ctc(c),
27
_r(ratio)
28
{ }
29
30
void
contract(IntervalVector& x)
const
;
31
32
protected
:
33
34
const
Collection<CtcBase<IntervalVector>> _ctc;
35
const
double
_r;
36
};
37
}
codac2_Collection.h
codac2_CtcWrapper.h
codac2_IntervalVector.h
codac2_template_tools.h
Generated by
1.13.0