bdm::datalink_buffered Class Reference

Datalink that buffers delayed values - do not forget to call step(). More...

#include <bdmbase.h>

List of all members.

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 rv1 to values of hist.
virtual void set_connection (int ds, int us, const ivec &upind)
 set connection using indices
virtual 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]$.
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


Detailed Description

Datalink that buffers delayed values - do not forget to call step().

Up is current data, Down is their subset with possibly delayed values


The documentation for this class was generated from the following file:

Generated on Wed Oct 7 17:34:45 2009 for mixpp by  doxygen 1.5.9