|
codac 2.0.0
|
Evaluation contractor \(\mathcal{C}_\textrm{eval}\) for scalar or vector tubes. More...
#include <codac2_CtcEval.h>
Public Member Functions | |
| CtcEval () | |
| Creates the evaluation contractor \(\mathcal{C}_\textrm{eval}\). | |
| template<typename T> requires std::is_same_v<T,Interval> || std::is_same_v<T,IntervalVector> | |
| void | contract (Interval &t, T &z, SlicedTube< T > &x, const SlicedTube< T > &v) const |
| \(\mathcal{C}_\textrm{eval}\big([t],[z],[x](\cdot),[v](\cdot)\big)\): contracts the observation \([t]\times[z]\) and the tube \([x](\cdot)\) subject to \(z=x(t)\) and \(\dot{x}(\cdot)=v(\cdot)\). | |
| template<typename T> requires std::is_same_v<T,Interval> || std::is_same_v<T,IntervalVector> | |
| void | contract (Interval &t, T &z, SlicedTube< T > &x, const SlicedTube< T > &v, const std::pair< SlicedTube< T >, SlicedTube< T > > &primitives) const |
| \(\mathcal{C}_\textrm{eval}\big([t],[z],[x](\cdot),[v](\cdot)\big)\): contracts the observation \([t]\times[z]\) and the tube \([x](\cdot)\) subject to \(z=x(t)\) and \(\dot{x}(\cdot)=v(\cdot)\), using precomputed partial primitives of the derivative tube. | |
Evaluation contractor \(\mathcal{C}_\textrm{eval}\) for scalar or vector tubes.
Given a tube \([x](\cdot)\), a derivative tube \([v](\cdot)\) and an observation \([t]\times[z]\), the contractor reduces \([t]\), \([z]\) and \([x](\cdot)\) subject to
\[ z=x(t),\qquad \dot{x}(\cdot)=v(\cdot) \]
The derivative tube is not contracted.
|
inline |
\(\mathcal{C}_\textrm{eval}\big([t],[z],[x](\cdot),[v](\cdot)\big)\): contracts the observation \([t]\times[z]\) and the tube \([x](\cdot)\) subject to \(z=x(t)\) and \(\dot{x}(\cdot)=v(\cdot)\).
| T | scalar or vector interval type |
| t | temporal interval \([t]\) of the evaluation |
| z | interval or box \([z]\) enclosing the evaluation |
| x | scalar or vector tube \([x](\cdot)\) |
| v | derivative tube \([v](\cdot)\) |
|
inline |
\(\mathcal{C}_\textrm{eval}\big([t],[z],[x](\cdot),[v](\cdot)\big)\): contracts the observation \([t]\times[z]\) and the tube \([x](\cdot)\) subject to \(z=x(t)\) and \(\dot{x}(\cdot)=v(\cdot)\), using precomputed partial primitives of the derivative tube.
For \([v](\cdot)=[v^-(\cdot),v^+(\cdot)]\), the provided tubes enclose the partial primitives
\[ p^-(t)=\int_{t_0}^{t}v^-(s)\,ds,\qquad p^+(t)=\int_{t_0}^{t}v^+(s)\,ds \]
| T | scalar or vector interval type |
| t | temporal interval \([t]\) of the evaluation |
| z | interval or box \([z]\) enclosing the evaluation |
| x | scalar or vector tube \([x](\cdot)\) |
| v | derivative tube \([v](\cdot)\) |
| primitives | pair of tubes returned by v.partial_primitives() |