Mauro DiNuzzo schrieb:
> I am wondering if there is some sampling algorithm (preferably in
> Prolog) which could be used in conjunction with CLP to sample the
> solution space, thereby obtaining a distribution of the variables.
Could you be more specific about the sampling
you desire? I guess something can be done in
the labeling phase. For example if the
labeling sees at some stage only:
x1 in D1
..
xn in Dn
And no more other suspended constraints, then
this could give rise a sampling of an area
D1 x ... x Dn. So it would be eventually faster
than waiting for its labeling and sample pointwise.
Bye