#include "../bdm/stat/exp_family.h"
using namespace bdm;

int main() {
	RV a = RV ( "{a }","2" );
	RV b = RV ( "{b }" );
	RV c = RV ( "{c }" );

	datalink_m2m dl;dl.set_connection ( a,concat(b,c),concat(a,b), c );

	vec val ( "1 1.5 2" );
	vec cond ( "3" );

	cout << "val: " << val  << endl;
	cout << "cond: " << cond  << endl;

	cout << "lo val: " << dl.pushdown ( val ) <<endl;
	cout << "lo cond: " << dl.get_cond ( val,cond ) <<endl;

	//getchar();
	return 0;

}
