sampler.pl
- load_program(:File:file) is det
- Load the PLP under the given File source and transform it's content for future sampling.
- unload_program is det
- Cleanup environment state (usually after running a sampling process to completion).
- sample_goal(:Goal:atom) is det
- Assuming a suitable object program has already been transformed via load_program,
take a sample of the given Query.
- sample_goal_gibbs(+BlockSize:int, :Query:atom) is det
- Assuming a suitable object program has already been transformed via load_program,
take a sample of the given Query via Gibbs-Sampling as detailed in https://ceur-ws.org/Vol-2678/paper12.pdf.