← Back to context

Comment by silentbicycle

15 years ago

_The Art of Prolog_'s chapter on meta-interpreters* includes an interpreter with uncertainty thresholds. It's about a quarter-page of code - It's on page 318, in the first edition (what I have on hand). Extending it to support statistical significance rather than just a 0-1.0 confidence interval shouldn't be too hard. Combining that with constraint programming would probably suffice.

* Rather like chapter 4 of SICP, on making metacircular evaluator Prologs.