probcomp / Venturecxx

Primary implementation of the Venture probabilistic programming system
http://probcomp.csail.mit.edu/venture/
GNU General Public License v3.0
28 stars 6 forks source link

The inference language should support exchangeably coupled SPs #235

Open axch opened 8 years ago

axch commented 8 years ago

Like make_beta_bernoulli or, perhaps more usefully, (make_crp 1 1) (which should act like a counter).

The current failure mode is 'OutputArgs' object has no attribute 'spaux'.

fsaad commented 8 years ago

Not sure why make_crp 1 1 should act like a counter...

axch commented 8 years ago

This ought to be fairly straightforward. The untraced interpreter needs to maintain a table of the auxes somewhere and thread them through appropriately. Then RequestArgs and OutputArgs may also become full-featured enough to remove the need for MockArgs, per #520.