root/library/tests/datalink_test.cpp @ 386

Revision 386, 467 bytes (checked in by mido, 15 years ago)

possibly broken? 4th part

  • Property svn:eol-style set to native
Line 
1#include "../bdm/stat/exp_family.h"
2using namespace bdm;
3
4int main() {
5        RV a = RV ( "{a }","2" );
6        RV b = RV ( "{b }" );
7        RV c = RV ( "{c }" );
8
9        datalink_m2m dl;dl.set_connection ( a,concat(b,c),concat(a,b), c );
10
11        vec val ( "1 1.5 2" );
12        vec cond ( "3" );
13
14        cout << "val: " << val  << endl;
15        cout << "cond: " << cond  << endl;
16
17        cout << "lo val: " << dl.pushdown ( val ) <<endl;
18        cout << "lo cond: " << dl.get_cond ( val,cond ) <<endl;
19
20        //getchar();
21        return 0;
22
23}
Note: See TracBrowser for help on using the browser.