Datalink that buffers delayed values - do not forget to call step(). More...
Datalink that buffers delayed values - do not forget to call step().
Up is current data, Down is their subset with possibly delayed values
#include <bdmbase.h>
| Public Member Functions | |
| void | step (const vec &val_up) | 
| push current data to history | |
| vec | pushdown (const vec &val_up) | 
| Get val for myself from val of "Up". | |
| void | filldown (const vec &val_up, vec &val_down) | 
| Get val for vector val_down from val of "Up". | |
| void | set_connection (const RV &rv, const RV &rv_up) | 
| set connection, rv must be fully present in rv_up | |
| void | set_history (const RV &rv1, const vec &hist0) | 
| set history of variable given by rv1to values ofhist. | |
| void | set_connection (int ds, int us, const ivec &upind) | 
| set connection using indices | |
| void | pushup (vec &val_up, const vec &val) | 
| Fill val of "Up" by my pieces. | |
| int | _upsize () | 
| access functions | |
| int | _downsize () | 
| access functions | |
| Protected Attributes | |
| vec | history | 
| History, ordered as ![$[Up_{t-1},Up_{t-2}, \ldots]$](form_17.png) . | |
| RV | Hrv | 
| rv of the history | |
| ivec | h2v_down | 
| h2v : indeces in down | |
| ivec | h2v_hist | 
| h2v : indeces in history | |
| ivec | v2h_up | 
| v2h: indeces of up too be pushed to h | |
| ivec | v2v_down | 
| indeces of values in vector downsize | |
| int | downsize | 
| Remember how long val should be. | |
| int | upsize | 
| Remember how long val of "Up" should be. | |
| ivec | v2v_up | 
| val-to-val link, indices of the upper val | |
 1.6.1
 1.6.1