template<typename T>
class maliput::drake::systems::StepwiseDenseOutput< T >
A DenseOutput class interface extension, geared towards step-wise construction procedures.
Outputs of this kind are to be built incrementally by means of discrete updates that extend its domain. Nature of an update remains implementation specific.
To allow for update rectification (i.e. drop and replacement), in case it fails to meet certain criteria (e.g. not within tolerances), construction can be deferred to a consolidation step. In between consolidations, updates can be rolled back (i.e. discarded) one by one on a last-input-first-output basis. Implementations are thus encouraged to keep recent updates in a light weight form, deferring heavier computations and construction of a better suited representation for evaluation. As such, evaluation is bound to succeed only after consolidation.
@tparam_default_scalar
|
| ~StepwiseDenseOutput () override=default |
|
virtual void | Rollback ()=0 |
| Rolls back (drops) the last update. More...
|
|
virtual void | Consolidate ()=0 |
| Consolidates latest updates. More...
|
|
virtual | ~DenseOutput ()=default |
|
VectorX< T > | Evaluate (const T &t) const |
| Evaluates the output at the given time t . More...
|
|
T | EvaluateNth (const T &t, int n) const |
| Evaluates the output value's n th scalar element (0-indexed) at the given time t . More...
|
|
int | size () const |
| Returns the output size (i.e. More...
|
|
bool | is_empty () const |
| Checks whether the output is empty or not. More...
|
|
const T & | start_time () const |
| Returns output's start time, or in other words, the oldest time t that it can be evaluated at e.g. More...
|
|
const T & | end_time () const |
| Returns output's end time, or in other words, the newest time t that it can be evaluated at e.g. More...
|
|